summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-06 15:25:05 +0200
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-04-17 10:25:28 -0400
commit0f96f0d9968a767ead3aec823fcdfb78f26f7be7 (patch)
treec068dc23c136f519ddd319a929fc9d1079f57856 /libavcodec/utils.c
parentdb6e26d70c371f069075d11f40d38924f3a45b65 (diff)
aacenc: Fix issues with huge values of bit_rate.
Do not pointlessly call ff_alloc_packet 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@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions