summaryrefslogtreecommitdiff
path: root/libavcodec/truemotion2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-17 02:33:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-17 02:35:23 +0100
commit72df87088c8a6593d66b207140edd32b4d2fb6ee (patch)
tree627f4074de47307e4d22564f82ee85f614a44e09 /libavcodec/truemotion2.c
parent4362f272c0ae280cde833589e5c9c6696bd878d5 (diff)
parent508b37557bf36eae83c18e64d42f27b44a321d81 (diff)
downloadffmpeg-72df87088c8a6593d66b207140edd32b4d2fb6ee.tar.gz
Merge commit '508b37557bf36eae83c18e64d42f27b44a321d81'
* commit '508b37557bf36eae83c18e64d42f27b44a321d81': tiertexseqv: use the AVFrame API properly. smc: use the AVFrame API properly. truemotion2: use the AVFrame API properly. truemotion1: use the AVFrame API properly. Conflicts: libavcodec/smc.c libavcodec/tiertexseqv.c libavcodec/truemotion1.c libavcodec/truemotion2.c See: e999f2339ab0200039ee7123b75d79a52aaac5d1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/truemotion2.c')
-rw-r--r--libavcodec/truemotion2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index 42badcbf8e..a1683f5b1a 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -931,6 +931,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
l->avctx = avctx;
avctx->pix_fmt = AV_PIX_FMT_BGR24;
+
l->pic = av_frame_alloc();
if (!l->pic)
return AVERROR(ENOMEM);