Takes into account a corner case with the multistream encoder
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 4 Sep 2014 06:44:09 +0000 (02:44 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 4 Sep 2014 06:44:09 +0000 (02:44 -0400)
commit648eb9adff253c1216a5430237cc8df30cce6751
tree872f7216af091fbb921a8ed25020a7efe39ab063
parente1326fe6c8a246aa0b98074040542e3b8ca14c53
Takes into account a corner case with the multistream encoder

Considers the case where one stream would eat up all the remaining bytes,
including a 2-byte size that would then not leave enough for the even a PLC
packet in the next streams.
src/opus_multistream_encoder.c