mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
5291cedd6c
commit
a136c2cf3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user