mirror of https://github.com/mstorsjo/fdk-aac.git
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:
parent
dc0de33e86
commit
48cfc02cbf
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue