[FFmpeg-devel,2/2] avcodec/fft_template: reindent after the previous commit

Submitted by Steven Liu on Dec. 16, 2018, 1:19 p.m.

Details

Message ID 20181216131918.1562-2-lq@chinaffmpeg.org
State New
Headers show

Commit Message

Steven Liu Dec. 16, 2018, 1:19 p.m.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 libavcodec/fft_template.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c
index 2d97534505..657f07b487 100644
--- a/libavcodec/fft_template.c
+++ b/libavcodec/fft_template.c
@@ -262,25 +262,25 @@  av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
         fft_perm_avx(s);
     } else {
         if (s->revtab) {
-        for(i=0; i<n; i++) {
-            int k;
-            j = i;
-            if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
-                j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
-            k = -split_radix_permutation(i, n, s->inverse) & (n-1);
+            for(i=0; i<n; i++) {
+                int k;
+                j = i;
+                if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
+                    j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
+                k = -split_radix_permutation(i, n, s->inverse) & (n-1);
                 s->revtab[k] = j;
+            }
         }
-        }
-            if (s->revtab32) {
-                for(i=0; i<n; i++) {
-                    int k;
-                    j = i;
-                    if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
-                        j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
-                        k = -split_radix_permutation(i, n, s->inverse) & (n-1);
+        if (s->revtab32) {
+            for(i=0; i<n; i++) {
+                int k;
+                j = i;
+                if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
+                    j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
+                k = -split_radix_permutation(i, n, s->inverse) & (n-1);
                 s->revtab32[k] = j;
             }
-            }
+        }
     }
 
     return 0;