aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/src/FDK_tools_rom.cpp
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 /libFDK/src/FDK_tools_rom.cpp
parent010c75901e4e01aab6ac8a26c71f2192f454d659 (diff)
downloadfdk-aac-dabplus-6999980d671f70fdae19c8b4663efa5189f9ca6c.tar.gz
fdk-aac-dabplus-6999980d671f70fdae19c8b4663efa5189f9ca6c.tar.bz2
fdk-aac-dabplus-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 'libFDK/src/FDK_tools_rom.cpp')
0 files changed, 0 insertions, 0 deletions