From 19411d32d409b9e9f05670a7bb2f76d6d7ef82db Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 11 May 2013 20:37:20 +0200 Subject: [PATCH] ffv1enc: dont set coded_frame Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 4535464670..ffc8230105 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -795,7 +795,6 @@ static av_cold int encode_init(AVCodecContext *avctx) if ((ret = ffv1_allocate_initial_states(s)) < 0) return ret; - avctx->coded_frame = s->picture.f; if (!s->transparency) s->plane_count = 2; avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, &s->chroma_v_shift);