From 66fa2a1fb371a393b6e03bf85efb08d4df9a7f75 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 5 Feb 2012 21:14:35 +0000 Subject: v210enc: do not set coded_frame->key_frame It is already set in avcodec_alloc_frame(). Signed-off-by: Paul B Mahol Signed-off-by: Anton Khirnov --- libavcodec/v210enc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/v210enc.c') 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; -- cgit v1.2.1