[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23131 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23131 - Extractor/src/plugins |
Date: |
Mon, 6 Aug 2012 01:30:39 +0200 |
Author: grothoff
Date: 2012-08-06 01:30:39 +0200 (Mon, 06 Aug 2012)
New Revision: 23131
Modified:
Extractor/src/plugins/mpeg_extractor.c
Log:
-do not trust 0 picture answer
Modified: Extractor/src/plugins/mpeg_extractor.c
===================================================================
--- Extractor/src/plugins/mpeg_extractor.c 2012-08-05 23:27:15 UTC (rev
23130)
+++ Extractor/src/plugins/mpeg_extractor.c 2012-08-05 23:30:39 UTC (rev
23131)
@@ -62,6 +62,7 @@
mpeg2_close (handle);
return;
}
+ buf = NULL;
have_gop = 0;
while (1)
{
@@ -104,7 +105,8 @@
ADD ("MPEG1", EXTRACTOR_METATYPE_FORMAT_VERSION);
break;
case STATE_GOP:
- if (NULL != info->gop)
+ if ( (NULL != info->gop) &&
+ (0 != info->gop->pictures) )
{
snprintf (gop_format,
sizeof (gop_format),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23131 - Extractor/src/plugins,
gnunet <=