mirror of https://git.ffmpeg.org/ffmpeg.git
Revert "libmp3lame: use the correct remaining buffer size when flushing"
This reverts commit 5dbb3298b9
, which was
mistakenly backported.
This commit is contained in:
parent
cab9624892
commit
ca335f5000
|
@ -169,7 +169,7 @@ static int MP3lame_encode_frame(AVCodecContext *avctx, unsigned char *frame,
|
|||
}
|
||||
} else {
|
||||
lame_result = lame_encode_flush(s->gfp, s->buffer + s->buffer_index,
|
||||
s->buffer_size - s->buffer_index);
|
||||
BUFFER_SIZE - s->buffer_index);
|
||||
}
|
||||
|
||||
if (lame_result < 0) {
|
||||
|
|
Loading…
Reference in New Issue