Revert parts of "Use saturating adds to avoid overflow"

This reverts commit 839ae290c1.

This change is no longer necessary on top of the new upstream,
I cannot reproduce the crash that this fixed with the new upstream.
This commit is contained in:
Martin Storsjo 2012-11-01 11:11:46 +02:00
parent dc0de33e86
commit 48cfc02cbf
1 changed files with 2 additions and 2 deletions

View File

@ -1150,8 +1150,8 @@ static INT FDKaacEnc_AutoToParcor(
for(j=numOfCoeff-i-1; j>=0; j--) {
FIXP_DBL accu1 = fMult(tmp, input[j]);
FIXP_DBL accu2 = fMult(tmp, workBuffer[j]);
workBuffer[j] = fAddSaturate(workBuffer[j], accu1);
input[j] = fAddSaturate(input[j], accu2);
workBuffer[j] += accu1;
input[j] += accu2;
}
workBuffer++;