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);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to