Fixes weird LFE bug
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 14 Oct 2013 21:33:53 +0000 (17:33 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 14 Oct 2013 21:33:53 +0000 (17:33 -0400)
commitc6d0c43df7836e59e34b07ea5c8077718593e708
tree8c461a14bd121d9a0b24e26729f32cf236eeb5aa
parenteab134c813725976181d6d66608d55597cea1e6f
Fixes weird LFE bug

The LFE encoder would first decide to switch to SILK, and allocated
redundancy bytes. Then, it would force CELT because of LFE, but keep
the redundancy allocation, and end up with too few bytes, that would
end up being padded to the desired size for CBR.
src/opus_encoder.c