[FFmpeg-cvslog] jv: initialize AVFrame
Hendrik Leppkes
git at videolan.org
Tue Mar 12 18:31:16 CET 2013
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Tue Mar 12 17:02:57 2013 +0100| [f91730a16b40af8635a03ab0ac49a7c26b5d760b] | committer: Michael Niedermayer
jv: initialize AVFrame
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f91730a16b40af8635a03ab0ac49a7c26b5d760b
---
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;
}
More information about the ffmpeg-cvslog
mailing list