Port r17543 from Tremor.
Port r17543 from Tremor.

A codebook that allows values outside the circular range of the piecewise
 floor1 representation can overflow the lookup
Also fix a typo in the comments of the original patch.


git-svn-id: aaacb87f8b65fb7d6fc622a2ff2a583ecedb130f@17555 0101bb08-14d6-0310-b084-bc0e0c8e3800

soundcloud/tremor,soundcloud/tremor