Commit 737bab04 authored by aurel's avatar aurel

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

to please avcodec_default_get_buffer()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7846 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a65dfee1
......@@ -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