[FFmpeg-soc] [soc]: r3400 - aacenc/aacenc.c

kostya subversion at mplayerhq.hu
Sun Aug 17 14:06:01 CEST 2008


Author: kostya
Date: Sun Aug 17 14:06:00 2008
New Revision: 3400

Log:
10l codebook range was tested against the wrong value

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sun Aug 17 14:06:00 2008
@@ -380,7 +380,7 @@ static int calculate_band_bits(AACEncCon
     int score = 0, dim, idx, start2;
     int range = aac_cb_info[cb].range;
 
-    if(!range) return 0;
+    if(range == -1) return 0;
     cb--;
     dim = cb < FIRST_PAIR_BT ? 4 : 2;
 



More information about the FFmpeg-soc mailing list