Commit graph

4 commits

Author SHA1 Message Date
Mark Harris
bd54e279d5
Correct SILK encoder gain limit
Ensure that the SILK encoder's log gain is 63, not 64, when encoding
a maximum-value delta gain index of 40.  This matches the decoder
and RFC 6716 4.2.7.4, and prevents an assertion failure in the rare
case that the gain is later independently coded.
2016-11-16 20:16:23 -08:00
Mark Harris
f1deb29cd6
Eliminate trailing spaces 2016-11-02 07:20:12 -07:00
Mark Harris
20bf3b3300
Reduce redundancy when SILK uses too many bits
Fix Hybrid redundancy assertion failure in ec_enc_shrink(), even
if SILK produces more than maxBits, by reducing or eliminating
redundancy when necessary.  Don't reserve space for redundancy that
is too small to be used for redundancy.  When there is not enough
space for redundancy, allow the regular frame to use all the bits.
2016-11-02 07:19:56 -07:00
Jean-Marc Valin
d0d1cf3b60
New regression test from Mark's fuzzing test cases 2016-10-29 15:49:39 -04:00