Only using triangular split pdf up to 8 bits
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Wed, 28 Jul 2010 08:34:07 +0000 (10:34 +0200)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Wed, 28 Jul 2010 08:34:07 +0000 (10:34 +0200)
libcelt/bands.c

index 51652cc..3f2158a 100644 (file)
@@ -643,7 +643,7 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_
 
          /* Entropy coding of the angle. We use a uniform pdf for the
             first stereo split but a triangular one for the rest. */
-         if (stereo || qb>9 || B>1)
+         if (stereo || qb>8 || B>1)
          {
             if (encode)
                ec_enc_uint((ec_enc*)ec, itheta, (1<<qb)+1);