Browse Source

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
tags/v0.5
Oded Shimon 18 years ago
parent
commit
e3bbb5910f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vorbis_enc.c

+ 1
- 1
libavcodec/vorbis_enc.c View File

@@ -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->begin);
put_bits(pb, 24, rc->end); put_bits(pb, 24, rc->end);
put_bits(pb, 24, rc->partition_size - 1); 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); put_bits(pb, 8, rc->classbook);


for (i = 0; i < rc->classifications; i++) { for (i = 0; i < rc->classifications; i++) {


Loading…
Cancel
Save