diff options
author | Martin Storsjo <martin@martin.st> | 2012-08-11 21:56:42 +0300 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2012-08-11 22:28:54 +0300 |
commit | 6999980d671f70fdae19c8b4663efa5189f9ca6c (patch) | |
tree | 81c9e367a2fe48194be3caba183d216aa8727d11 /libSYS | |
parent | 010c75901e4e01aab6ac8a26c71f2192f454d659 (diff) | |
download | ODR-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 'libSYS')
0 files changed, 0 insertions, 0 deletions