[FFmpeg-soc] [soc]: r2515 - aac/aac.c

superdump subversion at mplayerhq.hu
Sat Jun 21 16:39:28 CEST 2008


Author: superdump
Date: Sat Jun 21 16:39:28 2008
New Revision: 2515

Log:
Remove unnecessary ? 1 : 0


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sat Jun 21 16:39:28 2008
@@ -1037,7 +1037,7 @@ static int decode_scale_factor_data(AACC
                 ics->intensity_present = 1;
                 index = 2;
             }else
-                index = cb[g][i] == NOISE_HCB ? 1 : 0;
+                index = cb[g][i] == NOISE_HCB;
             if (cb[g][i] == NOISE_HCB && noise_flag-- > 0)
                 offset[index] += get_bits(gb, 9) - 256;
             else



More information about the FFmpeg-soc mailing list