diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-03-12 17:02:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 18:24:49 +0100 |
commit | f91730a16b40af8635a03ab0ac49a7c26b5d760b (patch) | |
tree | 128d4874ae89e95011e8dc689e80b61a9b0d1d08 /libavcodec/jvdec.c | |
parent | bd93f3c5bdb87ee976905c20e0fe8a353c1e10a9 (diff) | |
download | ffmpeg-f91730a16b40af8635a03ab0ac49a7c26b5d760b.tar.gz |
jv: initialize AVFrame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jvdec.c')
-rw-r--r-- | libavcodec/jvdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c index 067845eeba..8ec07c21f3 100644 --- a/libavcodec/jvdec.c +++ b/libavcodec/jvdec.c @@ -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; } |