[FFmpeg-cvslog] avcodec/proresenc_anatoliy: remove coded_frame use

Michael Niedermayer git at videolan.org
Wed Jul 29 01:46:23 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Jul 29 01:16:30 2015 +0200| [15eda746e738d009dd4faee66888dc27c51d3cbd] | committer: Michael Niedermayer

avcodec/proresenc_anatoliy: remove coded_frame use

coded_frame.key_frame should be set by the core already

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15eda746e738d009dd4faee66888dc27c51d3cbd
---

 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;
 }
 



More information about the ffmpeg-cvslog mailing list