Commit 19411d32 authored by Michael Niedermayer's avatar Michael Niedermayer

ffv1enc: dont set coded_frame

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a0c0900e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment