[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13993 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13993 - Extractor/src/plugins |
Date: |
Tue, 21 Dec 2010 15:40:37 +0100 |
Author: grothoff
Date: 2010-12-21 15:40:37 +0100 (Tue, 21 Dec 2010)
New Revision: 13993
Modified:
Extractor/src/plugins/png_extractor.c
Extractor/src/plugins/real_extractor.c
Log:
dead
Modified: Extractor/src/plugins/png_extractor.c
===================================================================
--- Extractor/src/plugins/png_extractor.c 2010-12-21 14:33:02 UTC (rev
13992)
+++ Extractor/src/plugins/png_extractor.c 2010-12-21 14:40:37 UTC (rev
13993)
@@ -80,8 +80,8 @@
};
-#define ADD(t,s) do { if (0 != (ret = proc (proc_cls, "tar", t,
EXTRACTOR_METAFORMAT_UTF8, "text/plain", s, strlen(s)+1))) goto FINISH; } while
(0)
-#define ADDF(t,s) do { if ( (s != NULL) && (0 != (ret = proc (proc_cls, "tar",
t, EXTRACTOR_METAFORMAT_UTF8, "text/plain", s, strlen(s)+1))) ) { free(s); goto
FINISH; } if (s != NULL) free (s); } while (0)
+#define ADD(t,s) do { if (0 != (ret = proc (proc_cls, "png", t,
EXTRACTOR_METAFORMAT_UTF8, "text/plain", s, strlen(s)+1))) goto FINISH; } while
(0)
+#define ADDF(t,s) do { if ( (s != NULL) && (0 != (ret = proc (proc_cls, "png",
t, EXTRACTOR_METAFORMAT_UTF8, "text/plain", s, strlen(s)+1))) ) { free(s); goto
FINISH; } if (s != NULL) free (s); } while (0)
static int
Modified: Extractor/src/plugins/real_extractor.c
===================================================================
--- Extractor/src/plugins/real_extractor.c 2010-12-21 14:33:02 UTC (rev
13992)
+++ Extractor/src/plugins/real_extractor.c 2010-12-21 14:40:37 UTC (rev
13993)
@@ -95,8 +95,6 @@
return 0;
mime_type_size = prop->data[prop->stream_name_size];
- if (mime_type_size > 2048)
- return 0; /* unrealistic */
if (prop_size > prop->stream_name_size + sizeof (UINT8) +
+mime_type_size + sizeof (Media_Properties))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13993 - Extractor/src/plugins,
gnunet <=