shithub: opus

Download patch

ref: b290bca91aeb047d03841bd1897c1cd0ca6d5344
parent: 43b47a41b12809ea3ede5516050e19328019533b
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Fri Jul 22 10:42:29 EDT 2016

Fixes shift<-2 case for denormalise_bands()

--- a/celt/bands.c
+++ b/celt/bands.c
@@ -246,7 +246,7 @@
                already corrupted. */
          if (shift < -2)
          {
-            g = 32767;
+            g = 16384;
             shift = -2;
          }
          do {