summaryrefslogtreecommitdiff
path: root/libavcodec/jvdec.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-03-12 17:02:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 18:24:49 +0100
commitf91730a16b40af8635a03ab0ac49a7c26b5d760b (patch)
tree128d4874ae89e95011e8dc689e80b61a9b0d1d08 /libavcodec/jvdec.c
parentbd93f3c5bdb87ee976905c20e0fe8a353c1e10a9 (diff)
jv: initialize AVFrame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/jvdec.c')
-rw-r--r--libavcodec/jvdec.c1
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;
}