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

superdump subversion at mplayerhq.hu
Thu May 22 13:57:09 CEST 2008


Author: superdump
Date: Thu May 22 13:57:08 2008
New Revision: 2181

Log:
Reindent and vertically align similar code after last commit


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu May 22 13:57:08 2008
@@ -1670,21 +1670,21 @@ static void tns_filter_tool(AACContext *
             // ar filter
             memset(b, 0, sizeof(b));
             ib = 0;
-                for (m = 0; m < size; m++) {
-                    tmp = coef[start];
-            if (decode) {
+            for (m = 0; m < size; m++) {
+                tmp = coef[start];
+                if (decode) {
                     for (i = 0; i < order; i++)
                         tmp -= b[ib + i] * lpc[i + 1];
-            } else { // encode
+                } else { // encode
                     for (i = 0; i < order; i++)
-                        tmp += b[i] * lpc[i + 1];
-            }
-                    if (--ib < 0)
-                        ib = order - 1;
-                    b[ib] = b[ib + order] = tmp;
-                    coef[start] = tmp;
-                    start += inc;
+                        tmp += b[i]      * lpc[i + 1];
                 }
+                if (--ib < 0)
+                    ib = order - 1;
+                b[ib] = b[ib + order] = tmp;
+                coef[start] = tmp;
+                start += inc;
+            }
         }
     }
 }



More information about the FFmpeg-soc mailing list