Browse Source

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>
tags/n0.11
Paul B Mahol Michael Niedermayer 13 years ago
parent
commit
a136c2cf3e
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/libmp3lame.c

+ 0
- 1
libavcodec/libmp3lame.c View File

@@ -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…
Cancel
Save