aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-02-05 21:14:35 +0000
committerAnton Khirnov <anton@khirnov.net>2012-02-06 07:59:24 +0100
commit66fa2a1fb371a393b6e03bf85efb08d4df9a7f75 (patch)
tree45109007cce0dba743c52da7f6ccfeac97959950
parentd73466f841b1732e4e817bf51f2153c4bab00428 (diff)
downloadffmpeg-66fa2a1fb371a393b6e03bf85efb08d4df9a7f75.tar.gz
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>
-rw-r--r--libavcodec/v210enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 069f915158..6266bb96b1 100644
--- a/libavcodec/v210enc.c
+++ b/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;