Commit 5e5067c7 authored by Aurelien Jacobs's avatar Aurelien Jacobs

ensure that data[0] is set to NULL for next frame

to please avcodec_default_get_buffer()

Originally committed as revision 7846 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4323b09d
......@@ -609,6 +609,7 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
*picture = *p;
*data_size = sizeof(AVPicture);
s->frames[VP56_FRAME_CURRENT].data[0] = NULL;
return buf_size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment