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

andoma subversion at mplayerhq.hu
Wed Mar 5 11:11:53 CET 2008


Author: andoma
Date: Wed Mar  5 11:11:52 2008
New Revision: 1957

Log:
Invert logic for SSR/non-SSR filterbank selection.

This is part of adding #ifdefs around all the SSR related code.



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Wed Mar  5 11:11:52 2008
@@ -2054,10 +2054,10 @@ static void spec_to_sample(AACContext * 
         transform_sce_tool(ac, ltp_trans);
     transform_sce_tool(ac, tns_trans);
     coupling_tool(ac, 0, 1);
-    if (ac->audioObjectType != AOT_AAC_SSR)
-        transform_sce_tool(ac, window_trans);
-    else
+    if (ac->audioObjectType == AOT_AAC_SSR)
         transform_sce_tool(ac, ssr_trans);
+    else
+        transform_sce_tool(ac, window_trans);
     coupling_tool(ac, 1, 1);
     if (ac->audioObjectType == AOT_AAC_LTP)
         transform_sce_tool(ac, ltp_update_trans);



More information about the FFmpeg-soc mailing list