On Wed, 17 Oct 2012 01:32:53 -0400, Justin Ruggles <[email protected]> 
wrote:
> The LAME API documentation for the required buffer size refers to the size for
> a single encode call. However, we store multiple frames in the same output
> buffer but only read 1 frame at a time out of it. As a result, the buffer size
> given in lame_encode_buffer() is actually smaller than what it should be.
> Since we do not know how many frames it will end up buffering, it is best to
> just reallocate if needed.
> ---
>  libavcodec/libmp3lame.c |   37 ++++++++++++++++++++++++++++++++++---
>  1 files changed, 34 insertions(+), 3 deletions(-)
> 

Fine with me

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to