Revert "libmp3lame: use the correct remaining buffer size when flushing"
This reverts commit 5dbb3298b9c1d7beb41c7d3ab19f86d6e027e43d, 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…
x
Reference in New Issue
Block a user