commit | e610864c7414f92eeb26c1b0260d23e0d5133fb7 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | Sat Aug 01 23:05:47 2009 +0200 |
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | Sat Aug 01 23:05:47 2009 +0200 |
tree | 37dea57129b227cd966f10c9a6bf4b93c3704cd0 | |
parent | 91f07dc125247a422c186edbebc05f54380b2dbf [diff] |
This fixes a VBR bug introduced by raw bits. We should not write any raw bit before the rate is decided (otherwise they'll end up at the wrong place) and we have to shrink the byte buffer before writing raw bits.