diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-15 21:12:28 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-15 21:12:28 +0000 |
commit | 171bc51c9b319e3b2b2736c511af72acf27763a9 (patch) | |
tree | 422a95144842ff6af0a86372217af631b250f26d /libavcodec/aandcttab.c | |
parent | bbd8f5477d29ae0d22ad0a8711d95299e009ec36 (diff) | |
download | ffmpeg-171bc51c9b319e3b2b2736c511af72acf27763a9.tar.gz |
Allocate bap and bap1 buffers using av_malloc().
This reduces the memory footprint when using less than 6 channels.
Modify bit allocation to swap the 2 buffers instead of using memcpy() and use
per-block pointers for bap. This is slightly faster (0.3%) in function
cbr_bit_allocation().
Originally committed as revision 26023 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aandcttab.c')
0 files changed, 0 insertions, 0 deletions