Fixes a quant_coarse_energy() hybrid mode bug
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 9 Nov 2012 02:50:05 +0000 (21:50 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 9 Nov 2012 02:50:05 +0000 (21:50 -0500)
commit9ed3d027616e299af4968889824ecc6e664ccefe
tree71fc6fbe34b50a252a82a3f5fd7fcd160b35ed2b
parent1fd1d7dd49c34c7d64bf26f60782afc17dab6842
Fixes a quant_coarse_energy() hybrid mode bug

max_decay was being computed based on the small number of bits allocated
to CELT. It's now set to the max value (16) when in hybrid mode.
celt/quant_bands.c