[FFmpeg-cvslog] r10720 - trunk/libavcodec/mpeg12.c

ramiro subversion
Sat Oct 13 03:34:00 CEST 2007


Author: ramiro
Date: Sat Oct 13 03:34:00 2007
New Revision: 10720

Log:
Fix for r9870
Patch by Stefan Lucke <stefan <at> lucke.in-berlin.de>
Subject: API breakage by r9870
Date: 2007-10-05 11:06:47 GMT
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/57467

Modified:
   trunk/libavcodec/mpeg12.c

Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c	(original)
+++ trunk/libavcodec/mpeg12.c	Sat Oct 13 03:34:00 2007
@@ -2239,7 +2239,7 @@ static int mpeg_decode_frame(AVCodecCont
 
             *data_size = sizeof(AVFrame);
         }
-        return 0;
+        return buf_size;
     }
 
     if(s2->flags&CODEC_FLAG_TRUNCATED){




More information about the ffmpeg-cvslog mailing list