shithub: opus

Download patch

ref: bb918ef71146b047a843eed5889ad7daa394adb5
parent: 3295b5d56b46f46c92ef1aeeffe83c330a082916
author: Jean-Marc Valin <[email protected]>
date: Fri Oct 15 20:01:27 EDT 2010

Fixed fixed-point overflow for 2.5 ms frames.

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -542,7 +542,7 @@
          x = Y;
       }
       if (lowband_out)
-         lowband_out[0] = X[0];
+         lowband_out[0] = SHR16(X[0],4);
       return;
    }