fdk-aac/libSBRenc
Martin Storsjo 8264e376ea 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.
2023-11-10 11:43:44 +02:00
..
include Upgrade to FDKv2 2018-04-19 11:21:15 -07:00
src Saturate additions in getEnvSfbEnergy in SBR encoding 2023-11-10 11:43:44 +02:00