Commit 73bf6332 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Making the multiplication in normalise_residual() produce a 32-bit result just

to be on the safe side (not that I observed any overflow, but I can't prove
it can't happen).
parent 4a275d4d
......@@ -109,7 +109,7 @@ static void normalise_residual(int * restrict iy, celt_norm * restrict X, int N,
X[i] = SHR16(MULT16_16_16(g, iy[i]),1);
X[i] = EXTRACT16(SHR32(MULT16_16(g, iy[i]),1));
while (++i < N);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment