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

Justin Ruggles git at videolan.org
Tue Feb 21 05:29:39 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Feb 16 22:12:21 2012 -0500| [35cfd7d09c6ac363863255b622e7a03b2415e573] | committer: Justin Ruggles

libmp3lame: 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=35cfd7d09c6ac363863255b622e7a03b2415e573
---

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

diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 1241cdc7..0409655 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -89,7 +89,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
         ret = AVERROR(ENOMEM);
         goto error;
     }
-    avctx->coded_frame->key_frame = 1;
 
     return 0;
 error:



More information about the ffmpeg-cvslog mailing list