From 5e5067c73db37f38d32a4e62241f666119c97360 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Tue, 6 Feb 2007 00:35:51 +0000 Subject: 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 --- libavcodec/vp56.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/vp56.c') diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c index eb78d02e47..62683180db 100644 --- a/libavcodec/vp56.c +++ b/libavcodec/vp56.c @@ -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; } -- cgit v1.2.3