Fixes a mode transition bug found by fuzzing
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 12 Aug 2011 04:30:47 +0000 (00:30 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 12 Aug 2011 04:30:47 +0000 (00:30 -0400)
commit68545565568bdc3573c580499e3d964ede4da8d3
tree55ebc956093cfe895e2e663848efe0cee988b164
parentf334c82ec3535bb39964424a2ed199d4e349598d
Fixes a mode transition bug found by fuzzing

During SILK->CELT transitions, we were delaying the mode change by
one frame, but only after having ensured that bandwidth and mode were
consistent. We now do the delaying earlier.
src/opus_encoder.c