[Ffmpeg-cvslog] r6455 - trunk/libavcodec/vorbis_enc.c

ods15 subversion
Mon Oct 2 08:07:27 CEST 2006


Author: ods15
Date: Mon Oct  2 08:07:26 2006
New Revision: 6455

Modified:
   trunk/libavcodec/vorbis_enc.c

Log:
Original Commit: r48 | ods15 | 2006-09-23 12:45:25 +0300 (Sat, 23 Sep 2006) | 2 lines

small fix for residue header

Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c	(original)
+++ trunk/libavcodec/vorbis_enc.c	Mon Oct  2 08:07:26 2006
@@ -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);




More information about the ffmpeg-cvslog mailing list