mirror of https://git.ffmpeg.org/ffmpeg.git
jv: initialize AVFrame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bd93f3c5bd
commit
f91730a16b
|
@ -43,6 +43,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||
JvContext *s = avctx->priv_data;
|
||||
avctx->pix_fmt = AV_PIX_FMT_PAL8;
|
||||
ff_dsputil_init(&s->dsp, avctx);
|
||||
avcodec_get_frame_defaults(&s->frame);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue