1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-25 13:41:28 +02:00

idcinvideo: correctly set AVFrame defaults

This commit is contained in:
Justin Ruggles 2012-08-01 15:46:08 -04:00
parent 899157b308
commit f7bf72a4a1

View File

@ -168,7 +168,7 @@ static av_cold int idcin_decode_init(AVCodecContext *avctx)
huff_build_tree(s, i); huff_build_tree(s, i);
} }
s->frame.data[0] = NULL; avcodec_get_frame_defaults(&s->frame);
return 0; return 0;
} }