1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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);
}
s->frame.data[0] = NULL;
avcodec_get_frame_defaults(&s->frame);
return 0;
}