mirror of https://git.ffmpeg.org/ffmpeg.git
idcinvideo: correctly set AVFrame defaults
This commit is contained in:
parent
899157b308
commit
f7bf72a4a1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue