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

superdump subversion at mplayerhq.hu
Fri Aug 15 13:38:36 CEST 2008


Author: superdump
Date: Fri Aug 15 13:38:36 2008
New Revision: 3324

Log:
Remove unnecessary FFMIN() as tns->order[][] is already validated when decoding


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Fri Aug 15 13:38:36 2008
@@ -1276,7 +1276,7 @@ static void apply_tns(float coef[1024], 
         for (filt = 0; filt < tns->n_filt[w]; filt++) {
             top = bottom;
             bottom = FFMAX(                  0, top - tns->length[w][filt]);
-            order  = FFMIN(tns->order[w][filt], TNS_MAX_ORDER);
+            order  = tns->order[w][filt];
             if (order == 0)
                 continue;
 



More information about the FFmpeg-soc mailing list