Mercurial > libavcodec.hg
changeset 3850:c52f4698e851 libavcodec
Original Commit: r48 | ods15 | 2006-09-23 12:45:25 +0300 (Sat, 23 Sep 2006) | 2 lines
small fix for residue header
author | ods15 |
---|---|
date | Mon, 02 Oct 2006 06:07:26 +0000 |
parents | ead3ae56d1b6 |
children | a778f86c28e2 |
files | vorbis_enc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vorbis_enc.c Mon Oct 02 06:07:24 2006 +0000 +++ b/vorbis_enc.c Mon Oct 02 06:07:26 2006 +0000 @@ -468,7 +468,7 @@ 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);