# HG changeset patch # User ods15 # Date 1159769248 0 # Node ID a778f86c28e2702615d8b5021fd7da039eb7c7f2 # Parent c52f4698e8511c97eeb0e502b1f6969549a6264d Original Commit: r49 | ods15 | 2006-09-23 12:52:21 +0300 (Sat, 23 Sep 2006) | 3 lines fix off-by-one in both encoder and decoder. libvorbis and tremor work now, ffvorbis still doesn't diff -r c52f4698e851 -r a778f86c28e2 vorbis_enc.c --- a/vorbis_enc.c Mon Oct 02 06:07:26 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 06:07:28 2006 +0000 @@ -389,7 +389,7 @@ put_bits(pb, 1, ordered); if (ordered) { int len = cb->entries[0].len; - put_bits(pb, 5, len); + put_bits(pb, 5, len - 1); i = 0; while (i < cb->nentries) { int j;