[FFmpeg-cvslog] r14699 - in trunk/libavcodec: Makefile fft.c

lorenm subversion
Tue Aug 12 02:27:21 CEST 2008


Author: lorenm
Date: Tue Aug 12 02:27:21 2008
New Revision: 14699

Log:
indent


Modified:
   trunk/libavcodec/Makefile
   trunk/libavcodec/fft.c

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	(original)
+++ trunk/libavcodec/Makefile	Tue Aug 12 02:27:21 2008
@@ -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
 

Modified: trunk/libavcodec/fft.c
==============================================================================
--- trunk/libavcodec/fft.c	(original)
+++ trunk/libavcodec/fft.c	Tue Aug 12 02:27:21 2008
@@ -164,15 +164,14 @@ int ff_fft_init(FFTContext *s, int nbits
         } 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;




More information about the ffmpeg-cvslog mailing list