Revert "libmp3lame: use the correct remaining buffer size when flushing"

This reverts commit 5dbb3298b9, which was
mistakenly backported.
This commit is contained in:
Reinhard Tartler 2013-03-14 17:55:01 +01:00
parent cab9624892
commit ca335f5000
1 changed files with 1 additions and 1 deletions

View File

@ -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) {