changeset 3838:6ccaab22c4d6 libavcodec

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!
author ods15
date Mon, 02 Oct 2006 05:56:16 +0000
parents 2eb4d646d36b
children c5ec6d7710ba
files vorbis_enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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++) {