indent
authorLoren Merritt <lorenm@u.washington.edu>
Tue, 12 Aug 2008 00:27:21 +0000 (00:27 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Tue, 12 Aug 2008 00:27:21 +0000 (00:27 +0000)
Originally committed as revision 14699 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile
libavcodec/fft.c

index 5b633e9..d08a8d5 100644 (file)
@@ -389,10 +389,10 @@ OBJS += i386/fdct_mmx.o \
         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
 
index 7b0d3b3..c8acfc6 100644 (file)
@@ -164,15 +164,14 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
         } 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;