summaryrefslogtreecommitdiffstats
path: root/libAACdec/src/channel.h
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-08-11 21:56:42 +0300
committerMartin Storsjo <martin@martin.st>2012-08-11 22:28:54 +0300
commit6999980d671f70fdae19c8b4663efa5189f9ca6c (patch)
tree81c9e367a2fe48194be3caba183d216aa8727d11 /libAACdec/src/channel.h
parent010c75901e4e01aab6ac8a26c71f2192f454d659 (diff)
downloadODR-AudioEnc-6999980d671f70fdae19c8b4663efa5189f9ca6c.tar.gz
ODR-AudioEnc-6999980d671f70fdae19c8b4663efa5189f9ca6c.tar.bz2
ODR-AudioEnc-6999980d671f70fdae19c8b4663efa5189f9ca6c.zip
Use saturating adds to avoid overflow
When the addition overflowed, asserts were triggered later, where the values were assumed to be non-negative.
Diffstat (limited to 'libAACdec/src/channel.h')
0 files changed, 0 insertions, 0 deletions