From a136c2cf3e5dc9e79db8dfb63ee9f53cf67a0d20 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 28 Jan 2012 19:55:47 +0000 Subject: [PATCH] libmp3lame: remove dupe assigment It is already done by avcodec_alloc_context(). Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/libmp3lame.c | 1 - 1 file changed, 1 deletion(-) 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;