diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 05:56:16 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 05:56:16 +0000 |
commit | e3bbb5910f5996c8640a65d0b1034b7a5463438f (patch) | |
tree | a179456d51cca667140e08560f1717d8b472934e | |
parent | 9da6847deba41732b110241ceeb5fb8ee5c5284a (diff) | |
download | ffmpeg-e3bbb5910f5996c8640a65d0b1034b7a5463438f.tar.gz |
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!
Originally committed as revision 6443 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/vorbis_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 8f8f2b51c7..388570902c 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -433,7 +433,7 @@ static void put_residue_header(PutBitContext * pb, residue_t * rc) { 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++) { |