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

superdump subversion at mplayerhq.hu
Tue Jul 1 11:56:22 CEST 2008


Author: superdump
Date: Tue Jul  1 11:56:21 2008
New Revision: 2614

Log:
- Fix indentation after last commit
- Some vertical alignment


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Tue Jul  1 11:56:21 2008
@@ -1747,13 +1747,13 @@ static void window_trans(AACContext * ac
 
     if (ics->window_sequence != EIGHT_SHORT_SEQUENCE) {
         ff_imdct_calc(&ac->mdct, buf, in, out); // out can be abused for now as a temp buffer
-            if (ics->window_sequence != LONG_STOP_SEQUENCE) {
-                ac->dsp.vector_fmul_add_add(out, buf, lwindow_prev, saved, ac->add_bias, 1024, 1);
-            } else {
-                for (i = 0; i < 448; i++) out[i] = saved[i] + ac->add_bias;
-                ac->dsp.vector_fmul_add_add(out + 448, buf + 448, swindow_prev, saved + 448, ac->add_bias, 128, 1);
-                for (i = 576; i < 1024; i++)   out[i] = buf[i] + saved[i] + ac->add_bias;
-            }
+        if (ics->window_sequence != LONG_STOP_SEQUENCE) {
+            ac->dsp.vector_fmul_add_add(out, buf, lwindow_prev, saved, ac->add_bias, 1024, 1);
+        } else {
+            for (i = 0;   i < 448;  i++)   out[i] =          saved[i] + ac->add_bias;
+            ac->dsp.vector_fmul_add_add(out + 448, buf + 448, swindow_prev, saved + 448, ac->add_bias, 128, 1);
+            for (i = 576; i < 1024; i++)   out[i] = buf[i] + saved[i] + ac->add_bias;
+        }
         if (ics->window_sequence != LONG_START_SEQUENCE) {
             ac->dsp.vector_fmul_reverse(saved, buf + 1024, lwindow, 1024);
         } else {



More information about the FFmpeg-soc mailing list