summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-17 13:27:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-17 13:55:50 +0100
commitbe1e6e7503b2f10b0176201418eb97912cee093f (patch)
tree620da8277e8837ccbb93a2a21e14a9b188c95b16 /libavcodec/ffv1.c
parentf4f7888bab7061f08c54356c285adaba24383dc0 (diff)
parent1c01b0253ebfe05f907c3a723101fe77f6dd2336 (diff)
downloadffmpeg-be1e6e7503b2f10b0176201418eb97912cee093f.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: mpegvideo_enc: use the AVFrame API properly. ffv1: use the AVFrame API properly. jpegls: use the AVFrame API properly. huffyuv: use the AVFrame API properly. Conflicts: libavcodec/ffv1.c libavcodec/ffv1.h libavcodec/ffv1dec.c libavcodec/ffv1enc.c Changes to ffv1 are more redone than merged due to them being based on an ancient codebase and a good part of that having being done already as well. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index aefb70d602..f8556b01f1 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -53,6 +53,7 @@ av_cold int ffv1_common_init(AVCodecContext *avctx)
s->last_picture.f = av_frame_alloc();
if (!s->picture.f || !s->last_picture.f)
return AVERROR(ENOMEM);
+
ff_dsputil_init(&s->dsp, avctx);
s->width = avctx->width;