[FFmpeg-devel] [PATCH] libmp3lame: remove dupe assigment
Paul B Mahol
onemda at gmail.com
Sat Jan 28 20:55:47 CET 2012
It is already done by avcodec_alloc_context().
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
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;
--
1.7.7
More information about the ffmpeg-devel
mailing list