From bb918ef71146b047a843eed5889ad7daa394adb5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Sat, 16 Oct 2010 00:01:27 -0400 Subject: [PATCH] Fixed fixed-point overflow for 2.5 ms frames. --- libcelt/bands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcelt/bands.c b/libcelt/bands.c index 24d7a935..29a1ba7a 100644 --- a/libcelt/bands.c +++ b/libcelt/bands.c @@ -542,7 +542,7 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_ x = Y; } if (lowband_out) - lowband_out[0] = X[0]; + lowband_out[0] = SHR16(X[0],4); return; }