projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da6847
)
Original Commit: r35 | ods15 | 2006-09-22 18:53:22 +0300 (Fri, 22 Sep 2006) | 4 lines
author
Oded Shimon
<ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 05:56:16 +0000
(
05:56
+0000)
committer
Oded Shimon
<ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 05:56:16 +0000
(
05:56
+0000)
another off by one
header writing seems compliant now!
Originally committed as revision 6443 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vorbis_enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/vorbis_enc.c
b/libavcodec/vorbis_enc.c
index
8f8f2b5
..
3885709
100644
(file)
--- 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++) {