summaryrefslogtreecommitdiffstats
path: root/libavcodec/proresenc_anatoliy.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-29 01:16:30 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-29 01:37:43 +0200
commit15eda746e738d009dd4faee66888dc27c51d3cbd (patch)
tree1f378bf128a349611f282fd64d8b47a3c0c9ae11 /libavcodec/proresenc_anatoliy.c
parent47424b865aa65edfdca9a07426e330069b1f2349 (diff)
downloadffmpeg-streaming-15eda746e738d009dd4faee66888dc27c51d3cbd.zip
ffmpeg-streaming-15eda746e738d009dd4faee66888dc27c51d3cbd.tar.gz
avcodec/proresenc_anatoliy: remove coded_frame use
coded_frame.key_frame should be set by the core already Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/proresenc_anatoliy.c')
-rw-r--r--libavcodec/proresenc_anatoliy.c3
1 files changed, 0 insertions, 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;
}
OpenPOWER on IntegriCloud