Max delta: +/- 16384
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 10 Jan 2011 15:35:31 +0000 (10:35 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 10 Jan 2011 15:35:31 +0000 (10:35 -0500)
libcelt/bands.c

index 70b126b..ff5703d 100644 (file)
@@ -723,12 +723,12 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_
       {
          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);