[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23138 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23138 - Extractor/src/plugins |
Date: |
Mon, 6 Aug 2012 13:42:18 +0200 |
Author: grothoff
Date: 2012-08-06 13:42:18 +0200 (Mon, 06 Aug 2012)
New Revision: 23138
Modified:
Extractor/src/plugins/test_flac.c
Log:
do not extract mime type in FLAC as it yields false-positives and magic/mime
does a better job -- testcase changes
Modified: Extractor/src/plugins/test_flac.c
===================================================================
--- Extractor/src/plugins/test_flac.c 2012-08-06 11:41:25 UTC (rev 23137)
+++ Extractor/src/plugins/test_flac.c 2012-08-06 11:42:18 UTC (rev 23138)
@@ -40,14 +40,6 @@
struct SolutionData kraftwerk_sol[] =
{
{
- EXTRACTOR_METATYPE_MIMETYPE,
- EXTRACTOR_METAFORMAT_UTF8,
- "text/plain",
- "audio/flac",
- strlen ("audio/flac") + 1,
- 0
- },
- {
EXTRACTOR_METATYPE_RESOURCE_TYPE,
EXTRACTOR_METAFORMAT_UTF8,
"text/plain",
@@ -65,10 +57,16 @@
},
{ 0, 0, NULL, NULL, 0, -1 }
};
+ struct SolutionData alien_sol[] =
+ {
+ { 0, 0, NULL, NULL, 0, -1 }
+ };
struct ProblemSet ps[] =
{
{ "testdata/flac_kraftwerk.flac",
kraftwerk_sol },
+ { "testdata/mpeg_alien.mpg",
+ alien_sol },
{ NULL, NULL }
};
return ET_main ("flac", ps);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23138 - Extractor/src/plugins,
gnunet <=