aboutsummaryrefslogtreecommitdiffstats
path: root/libAACenc/src/quantize.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't try to shift more bits than the variable lengthMartin Storsjo2012-08-101-2/+8
| | | | | | | | | | Shifting by more than (or equal to) the variable length is undefined in C. This caused the quantized spectrum values to go out of range, triggering asserts later. Change-Id: If81b6c8caa7b9c75941ad9d280b686d2069c968c
* Snapshot 2bda038c163298531d47394bc2c09e1409c5d0dbThe Android Open Source Project2012-07-111-0/+385
Change-Id: If584e579464f28b97d50e51fc76ba654a5536c54