summaryrefslogtreecommitdiff
path: root/libavcodec/indeo2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-12 03:51:59 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 03:54:40 +0100
commitb5e5ed8ea707fefcab15dbfa3fa0dc2f36e5275a (patch)
tree8e2c8a028781da99fa256c200e635b16d496e62a /libavcodec/indeo2.c
parent01a0283c92b124f185ce4e814a1c5b600f1135e0 (diff)
parent3b199d29cd597a3518136d78860e172060b9e83d (diff)
downloadffmpeg-b5e5ed8ea707fefcab15dbfa3fa0dc2f36e5275a.tar.gz
Merge commit '3b199d29cd597a3518136d78860e172060b9e83d'
* commit '3b199d29cd597a3518136d78860e172060b9e83d': lavc decoders: properly initialize AVFrame. Conflicts: libavcodec/avs.c libavcodec/c93.c libavcodec/cinepak.c libavcodec/flashsv.c libavcodec/flicvideo.c libavcodec/iff.c libavcodec/mmvideo.c libavcodec/msrle.c libavcodec/msvideo1.c libavcodec/qtrle.c libavcodec/rpza.c libavcodec/smacker.c libavcodec/smc.c libavcodec/tiertexseqv.c libavcodec/truemotion1.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/indeo2.c')
-rw-r--r--libavcodec/indeo2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c
index b8925f70f7..0ce65b1ffa 100644
--- a/libavcodec/indeo2.c
+++ b/libavcodec/indeo2.c
@@ -220,6 +220,8 @@ static av_cold int ir2_decode_init(AVCodecContext *avctx)
avctx->pix_fmt= AV_PIX_FMT_YUV410P;
+ avcodec_get_frame_defaults(&ic->picture);
+
ir2_vlc.table = vlc_tables;
ir2_vlc.table_allocated = 1 << CODE_VLC_BITS;
#ifdef BITSTREAM_READER_LE