Don't try to create fullband silk frames when forced to low rate.
authorGregory Maxwell <greg@xiph.org>
Wed, 18 Jul 2012 14:06:01 +0000 (10:06 -0400)
committerGregory Maxwell <greg@xiph.org>
Wed, 18 Jul 2012 14:06:01 +0000 (10:06 -0400)
commit31e8a845923ace3cb818dd12839188cf3f29af80
tree18153c69b1103fd67ef4d6dd51e74045458583a9
parent37f56593a20242a08b5315d3b78820f6dc060996
Don't try to create fullband silk frames when forced to low rate.

When libopus is forced to sufficiently low rates it will start
outputting 'PLC' (one byte) frames. The code that did this
did not sanitize the mode well enough and would create corrupted
TOC values in some cases.
src/opus_encoder.c