[FFmpeg-cvslog] libmp3lame: remove dupe assigment

Paul B Mahol git at videolan.org
Sat Jan 28 22:24:30 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jan 28 19:55:47 2012 +0000| [a136c2cf3e5dc9e79db8dfb63ee9f53cf67a0d20] | committer: Michael Niedermayer

libmp3lame: remove dupe assigment

It is already done by avcodec_alloc_context().

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 04498d2..d75183e 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -86,7 +86,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
 
         return AVERROR(ENOMEM);
     }
-    avctx->coded_frame->key_frame = 1;
 
     if(AV_SAMPLE_FMT_S32 == avctx->sample_fmt && s->stereo) {
         int nelem = 2 * avctx->frame_size;



More information about the ffmpeg-cvslog mailing list