diff vp56.c @ 4484:3b1815b57b6d libavcodec

ensure that data[0] is set to NULL for next frame to please avcodec_default_get_buffer()
author aurel
date Tue, 06 Feb 2007 00:35:51 +0000
parents e5d148036c87
children a96d905dcbaa
line wrap: on
line diff
--- a/vp56.c	Mon Feb 05 21:18:11 2007 +0000
+++ b/vp56.c	Tue Feb 06 00:35:51 2007 +0000
@@ -609,6 +609,7 @@
     *picture = *p;
     *data_size = sizeof(AVPicture);
 
+    s->frames[VP56_FRAME_CURRENT].data[0] = NULL;
     return buf_size;
 }