jv: initialize AVFrame

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Hendrik Leppkes 2013-03-12 17:02:57 +01:00 committed by Michael Niedermayer
parent bd93f3c5bd
commit f91730a16b
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}