# HG changeset patch # User aurel # Date 1170722151 0 # Node ID 3b1815b57b6d2a2df0de3ad898593ffc044f3e6d # Parent 7a56dc39adef885007c1fa637ce56ab8834c38f3 ensure that data[0] is set to NULL for next frame to please avcodec_default_get_buffer() diff -r 7a56dc39adef -r 3b1815b57b6d vp56.c --- 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; }