shithub: opus

Download patch

ref: 743abbbac971a88d4d8b87587e1a680015f24d9d
parent: 89eef0f6419596ae22b822121f3a041c94f7565c
author: Jean-Marc Valin <[email protected]>
date: Wed Jul 28 06:34:07 EDT 2010

Only using triangular split pdf up to 8 bits

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -643,7 +643,7 @@
 
          /* 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);