# HG changeset patch # User ods15 # Date 1159768576 0 # Node ID 6ccaab22c4d62949db18d984ca7bc2fbc1c0ba21 # Parent 2eb4d646d36b3440a8d5afb53740e1c08abc4317 Original Commit: r35 | ods15 | 2006-09-22 18:53:22 +0300 (Fri, 22 Sep 2006) | 4 lines another off by one header writing seems compliant now! diff -r 2eb4d646d36b -r 6ccaab22c4d6 vorbis_enc.c --- a/vorbis_enc.c Mon Oct 02 05:56:14 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 05:56:16 2006 +0000 @@ -433,7 +433,7 @@ put_bits(pb, 24, rc->begin); put_bits(pb, 24, rc->end); put_bits(pb, 24, rc->partition_size - 1); - put_bits(pb, 6, rc->classifications); + put_bits(pb, 6, rc->classifications - 1); put_bits(pb, 8, rc->classbook); for (i = 0; i < rc->classifications; i++) {