Fixed a long-standing rare mismatch
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Wed, 26 May 2010 19:04:41 +0000 (15:04 -0400)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Wed, 26 May 2010 19:04:41 +0000 (15:04 -0400)
commitc4ac57023c28da3cfdff6abccf02ca0eb90c939f
tree99d69865ad218ed8cb0a19ebbed6b86cb9943d45
parent40e993c029ff48af39a24d2cc093ba661b62c3c8
Fixed a long-standing rare mismatch

In cases where the coarse energy quantizer wasn't able to
go down fast enough, we could have a negative error that didn't
get clamped.
libcelt/quant_bands.c