aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libmp3lame.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-28 19:55:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-01-28 22:08:20 +0100
commita136c2cf3e5dc9e79db8dfb63ee9f53cf67a0d20 (patch)
tree93c132b2baf269e34d2478c33ac7997ef2bbd711 /libavcodec/libmp3lame.c
parent5291cedd6ca39c7e33b5c0ad543aad8890107104 (diff)
downloadandroid_external_ffmpeg-a136c2cf3e5dc9e79db8dfb63ee9f53cf67a0d20.tar.gz
android_external_ffmpeg-a136c2cf3e5dc9e79db8dfb63ee9f53cf67a0d20.tar.bz2
android_external_ffmpeg-a136c2cf3e5dc9e79db8dfb63ee9f53cf67a0d20.zip
libmp3lame: remove dupe assigment
It is already done by avcodec_alloc_context(). Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libmp3lame.c')
-rw-r--r--libavcodec/libmp3lame.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 04498d2271..d75183e9c0 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;