From 15eda746e738d009dd4faee66888dc27c51d3cbd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 29 Jul 2015 01:16:30 +0200 Subject: avcodec/proresenc_anatoliy: remove coded_frame use coded_frame.key_frame should be set by the core already Signed-off-by: Michael Niedermayer --- libavcodec/proresenc_anatoliy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c index 138223e..0516066 100644 --- a/libavcodec/proresenc_anatoliy.c +++ b/libavcodec/proresenc_anatoliy.c @@ -590,9 +590,6 @@ static av_cold int prores_encode_init(AVCodecContext *avctx) scale_mat(QMAT_CHROMA[avctx->profile], ctx->qmat_chroma[i - 1], i); } - avctx->coded_frame->key_frame = 1; - avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; - return 0; } -- cgit v1.1