diff options
author | Nedeljko Babic <nedeljko.babic@rt-rk.com> | 2015-07-28 17:40:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-28 20:13:07 +0200 |
commit | fee7c42bf45f72d457fafaee536f054ce59e4ec5 (patch) | |
tree | 040b6259fc7665516dfb36a0e26bb9ea256e6e1a /compat | |
parent | 8c2f00d5909dae94138bdd10625acaf159b23679 (diff) | |
download | ffmpeg-fee7c42bf45f72d457fafaee536f054ce59e4ec5.tar.gz |
avcodec/aac_fixed: Fix a bug in spectral_to_sample()
There was fixed number of loops (2048) in preparation for resampler, so
when number of samples is smaller than this, there would be an overflow on
ret_buf.
For some reason this behavior popped out only under valgrind with
--disable-memory-poisoning option.
This is now fixed and number of loops depends on actual number of samples.
Signed-off-by: Nedeljko Babic <nedeljko.babic@rt-rk.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions