changeset 7543:f04ff5a6fb55 libavcodec

indent
author lorenm
date Tue, 12 Aug 2008 00:27:21 +0000
parents a8a8205a9081
children ee1cb5ab9f99
files Makefile fft.c
diffstat 2 files changed, 11 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Aug 12 00:26:58 2008 +0000
+++ b/Makefile	Tue Aug 12 00:27:21 2008 +0000
@@ -389,10 +389,10 @@
         i386/idct_mmx_xvid.o \
         i386/idct_sse2_xvid.o \
 
-OBJS-$(HAVE_YASM) += i386/fft_mmx.o \
-        i386/fft_sse.o \
-        i386/fft_3dn.o \
-        i386/fft_3dn2.o \
+OBJS-$(HAVE_YASM)                      += i386/fft_mmx.o \
+                                          i386/fft_sse.o \
+                                          i386/fft_3dn.o \
+                                          i386/fft_3dn2.o \
 
 OBJS-$(CONFIG_GPL)                     += i386/idct_mmx.o
 
--- a/fft.c	Tue Aug 12 00:26:58 2008 +0000
+++ b/fft.c	Tue Aug 12 00:27:21 2008 +0000
@@ -164,15 +164,14 @@
         } while (nblocks != 0);
         av_freep(&s->exptab);
 
-    /* compute bit reverse table */
-
-    for(i=0;i<n;i++) {
-        m=0;
-        for(j=0;j<nbits;j++) {
-            m |= ((i >> j) & 1) << (nbits-j-1);
+        /* compute bit reverse table */
+        for(i=0;i<n;i++) {
+            m=0;
+            for(j=0;j<nbits;j++) {
+                m |= ((i >> j) & 1) << (nbits-j-1);
+            }
+            s->revtab[i]=m;
         }
-        s->revtab[i]=m;
-    }
     }
 
     return 0;