[Ffmpeg-cvslog] r6456 - trunk/libavcodec/vorbis_enc.c
ods15
subversion
Mon Oct 2 08:07:29 CEST 2006
Author: ods15
Date: Mon Oct 2 08:07:28 2006
New Revision: 6456
Modified:
trunk/libavcodec/vorbis_enc.c
Log:
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
Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c (original)
+++ trunk/libavcodec/vorbis_enc.c Mon Oct 2 08:07:28 2006
@@ -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;
More information about the ffmpeg-cvslog
mailing list