From f7bf72a4a1146a7583577c9bdc066767e1ba3c6a Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 1 Aug 2012 15:46:08 -0400 Subject: [PATCH] idcinvideo: correctly set AVFrame defaults --- libavcodec/idcinvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index 273eca60dd..05cd673faa 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -168,7 +168,7 @@ static av_cold int idcin_decode_init(AVCodecContext *avctx) huff_build_tree(s, i); } - s->frame.data[0] = NULL; + avcodec_get_frame_defaults(&s->frame); return 0; }