[FFmpeg-devel] [PATCH] aacenc: Fix issues with huge values of bit_rate.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Apr 6 16:01:57 CEST 2012


On Fri, Apr 06, 2012 at 03:58:19PM +0200, Reimar Döffinger wrote:
> Do not pointlessly call ff_alloc_packet2 multiple times,
> and fix an infinite loop by clamping the maximum
> number of bits to target in the algorithm that does
> not use lambda.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> ---
>  libavcodec/aaccoder.c       |    3 +++
>  libavcodec/aacenc.c         |    4 ++--
>  tests/ref/acodec/aac        |    4 ++++
>  tests/ref/acodec/dca        |    4 ++++
>  tests/ref/acodec/nellymoser |    4 ++++
>  tests/ref/acodec/ra144      |    4 ++++

AAA! Just imagine the ref files were not there. No idea how they ended
up part of that patch.


More information about the ffmpeg-devel mailing list