Fixed fixed-point overflow for 2.5 ms frames.

This commit is contained in:
Jean-Marc Valin 2010-10-16 00:01:27 -04:00
parent 3295b5d56b
commit bb918ef711

View file

@ -542,7 +542,7 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_
x = Y; x = Y;
} }
if (lowband_out) if (lowband_out)
lowband_out[0] = X[0]; lowband_out[0] = SHR16(X[0],4);
return; return;
} }