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);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
avctx->coded_frame->key_frame = 1;
|
|
||||||
|
|
||||||
if(AV_SAMPLE_FMT_S32 == avctx->sample_fmt && s->stereo) {
|
if(AV_SAMPLE_FMT_S32 == avctx->sample_fmt && s->stereo) {
|
||||||
int nelem = 2 * avctx->frame_size;
|
int nelem = 2 * avctx->frame_size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user