shithub: opus

Download patch

ref: c2095a2930497e7d2b1a227568d8598186aef976
parent: d9127edb1f5100a3281beb6e60d8bb648a79b0a8
author: Jean-Marc Valin <[email protected]>
date: Mon Jan 10 05:35:31 EST 2011

Max delta: +/- 16384

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -723,12 +723,12 @@
       {
          imid = 32767;
          iside = 0;
-         delta = -10000;
+         delta = -16384;
       } else if (itheta == 16384)
       {
          imid = 0;
          iside = 32767;
-         delta = 10000;
+         delta = 16384;
       } else {
          imid = bitexact_cos(itheta);
          iside = bitexact_cos(16384-itheta);