summaryrefslogtreecommitdiffstats
path: root/libAACenc/src/ms_stereo.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-08-10 10:57:24 +0300
committerMartin Storsjo <martin@martin.st>2012-08-10 11:05:56 +0300
commit65745694963cc601a2403d071311261f200d6cb9 (patch)
tree43d650bf77368c1769881c4bcb65fdf04e51efab /libAACenc/src/ms_stereo.cpp
parentd2854e2ac7e7e3cbe4b3c67a2d7823a6153c2488 (diff)
downloadODR-AudioEnc-65745694963cc601a2403d071311261f200d6cb9.tar.gz
ODR-AudioEnc-65745694963cc601a2403d071311261f200d6cb9.tar.bz2
ODR-AudioEnc-65745694963cc601a2403d071311261f200d6cb9.zip
Don't try to shift more bits than the variable length
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
Diffstat (limited to 'libAACenc/src/ms_stereo.cpp')
0 files changed, 0 insertions, 0 deletions