[Ffmpeg-cvslog] r7846 - trunk/libavcodec/vp56.c

aurel subversion
Tue Feb 6 01:35:51 CET 2007


Author: aurel
Date: Tue Feb  6 01:35:51 2007
New Revision: 7846

Modified:
   trunk/libavcodec/vp56.c

Log:
ensure that data[0] is set to NULL for next frame
to please avcodec_default_get_buffer()


Modified: trunk/libavcodec/vp56.c
==============================================================================
--- trunk/libavcodec/vp56.c	(original)
+++ trunk/libavcodec/vp56.c	Tue Feb  6 01:35:51 2007
@@ -609,6 +609,7 @@
     *picture = *p;
     *data_size = sizeof(AVPicture);
 
+    s->frames[VP56_FRAME_CURRENT].data[0] = NULL;
     return buf_size;
 }
 




More information about the ffmpeg-cvslog mailing list