[Ffmpeg-cvslog] r6442 - trunk/libavcodec/vorbis_enc.c

ods15 subversion
Mon Oct 2 07:56:14 CEST 2006


Author: ods15
Date: Mon Oct  2 07:56:14 2006
New Revision: 6442

Modified:
   trunk/libavcodec/vorbis_enc.c

Log:
Original Commit: r34 | ods15 | 2006-09-22 18:46:57 +0300 (Fri, 22 Sep 2006) | 2 lines

off by one in codebook header

Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c	(original)
+++ trunk/libavcodec/vorbis_enc.c	Mon Oct  2 07:56:14 2006
@@ -376,7 +376,7 @@
 
         for (i = 0; i < cb->nentries; i++) {
             if (sparse) put_bits(pb, 1, !!cb->entries[i].len);
-            if (cb->entries[i].len) put_bits(pb, 5, cb->entries[i].len);
+            if (cb->entries[i].len) put_bits(pb, 5, cb->entries[i].len - 1);
         }
     }
 




More information about the ffmpeg-cvslog mailing list