Browse Source

ffv1enc: dont set coded_frame

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
19411d32d4
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/ffv1enc.c

+ 0
- 1
libavcodec/ffv1enc.c View File

@@ -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);


Loading…
Cancel
Save