OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
174476c
)
Original Commit: r48 | ods15 | 2006-09-23 12:45:25 +0300 (Sat, 23 Sep 2006) | 2 lines
author
Oded Shimon
<ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 06:07:26 +0000
(06:07 +0000)
committer
Oded Shimon
<ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 06:07:26 +0000
(06:07 +0000)
small fix for residue header
Originally committed as revision 6455 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
05924f6
..
bd93652
100644
(file)
--- a/
libavcodec/vorbis_enc.c
+++ b/
libavcodec/vorbis_enc.c
@@
-468,7
+468,7
@@
static void put_residue_header(PutBitContext * pb, residue_t * rc) {
for (i = 0; i < rc->classifications; i++) {
int j, tmp = 0;
- for (j = 0; j < 8; j++) tmp |= (
!!rc->books[i][j]
) << j;
+ for (j = 0; j < 8; j++) tmp |= (
rc->books[i][j] != -1
) << j;
put_bits(pb, 3, tmp & 7);
put_bits(pb, 1, tmp > 7);