[FFmpeg-cvslog] alacenc: do not set coded_frame->key_frame

Justin Ruggles git at videolan.org
Sun Feb 12 01:34:07 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Feb  1 20:43:43 2012 -0500| [6e63228323ef9b492156523fb2329ee8440d6b9a] | committer: Justin Ruggles

alacenc: do not set coded_frame->key_frame

It is already set in avcodec_alloc_frame()

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

 libavcodec/alacenc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 9725be8..7fb0de3 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -475,7 +475,6 @@ static av_cold int alac_encode_init(AVCodecContext *avctx)
     avctx->extradata_size = ALAC_EXTRADATA_SIZE;
 
     avctx->coded_frame = avcodec_alloc_frame();
-    avctx->coded_frame->key_frame = 1;
 
     s->avctx = avctx;
     ret = ff_lpc_init(&s->lpc_ctx, avctx->frame_size, s->max_prediction_order,



More information about the ffmpeg-cvslog mailing list