v210enc: do not set coded_frame->key_frame

It is already set in avcodec_alloc_frame().

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
pull/3/merge
Paul B Mahol 13 years ago committed by Anton Khirnov
parent d73466f841
commit 66fa2a1fb3
  1. 1
      libavcodec/v210enc.c

@ -44,7 +44,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
if (!avctx->coded_frame)
return AVERROR(ENOMEM);
avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
return 0;

Loading…
Cancel
Save