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

superdump subversion at mplayerhq.hu
Thu May 22 14:21:05 CEST 2008


Author: superdump
Date: Thu May 22 14:21:05 2008
New Revision: 2182

Log:
10l


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu May 22 14:21:05 2008
@@ -1690,7 +1690,7 @@ static void tns_filter_tool(AACContext *
 }
 
 static void tns_trans(AACContext * ac, sce_struct * sce) {
-    if(sce->tns->present) tns_filter_tool(ac, 1, sce, sce->coeffs);
+    if(sce->tns.present) tns_filter_tool(ac, 1, sce, sce->coeffs);
 }
 
 #ifdef AAC_LTP
@@ -1740,7 +1740,7 @@ static void ltp_trans(AACContext * ac, s
             x_est[i] = (float)sce->ltp_state[i + 2 * 1024 - ltp->lag] * ltp->coef;
 
         window_ltp_tool(ac, sce, x_est, X_est);
-        if(sce->tns->present) tns_filter_tool(ac, 0, sce, X_est);
+        if(sce->tns.present) tns_filter_tool(ac, 0, sce, X_est);
 
         for (sfb = 0; sfb < FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++)
             if (ltp->used[sfb])



More information about the FFmpeg-soc mailing list