changeset 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 7a56dc39adef
children 81a120f5f8d0
files vp56.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 }