diff options
author | Martin Storsjo <martin@martin.st> | 2023-11-10 11:39:50 +0200 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2023-11-10 11:43:44 +0200 |
commit | 8264e376ea6f2fdaa3813ff1a8463e368d95083c (patch) | |
tree | cf09b6c7788de0e2f859f23919056fbe4a813efa /OWNERS | |
parent | 4de681c193d45b14f87efc30e3e3f02d389387b5 (diff) | |
download | fdk-aac-8264e376ea6f2fdaa3813ff1a8463e368d95083c.tar.gz fdk-aac-8264e376ea6f2fdaa3813ff1a8463e368d95083c.tar.bz2 fdk-aac-8264e376ea6f2fdaa3813ff1a8463e368d95083c.zip |
Saturate additions in getEnvSfbEnergy in SBR encoding
This avoids wraparounds, which can trigger failed asserts with
some inputs. This fixes
https://github.com/mstorsjo/fdk-aac/issues/158.
The implementation of saturated addition loses the contents of the
lowest bit though, thus this change affects the output - but the
change is said to be acceptable.
Diffstat (limited to 'OWNERS')
0 files changed, 0 insertions, 0 deletions