[FFmpeg-devel] [PATCH] jv: initialize AVFrame
Hendrik Leppkes
h.leppkes at gmail.com
Tue Mar 12 17:02:57 CET 2013
---
Fixes recent FATE failures.
libavcodec/jvdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c
index 067845e..8ec07c2 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;
}
--
1.8.0.msysgit.0
More information about the ffmpeg-devel
mailing list