Browse Source

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>
tags/n0.11
Paul B Mahol Anton Khirnov 14 years ago
parent
commit
66fa2a1fb3
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/v210enc.c

+ 0
- 1
libavcodec/v210enc.c View File

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