avcodec/fft: Fix "warning: unused variable"
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 4 Aug 2013 20:52:10 +0000 (22:52 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 4 Aug 2013 20:52:10 +0000 (22:52 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/fft.c

index 5244dcaa8e2332f8ee5e43f8de40df5b9d04a245..e0cf1f2982217c453247f9cc0804fedd741658b0 100644 (file)
@@ -189,7 +189,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
         fft_perm_avx(s);
     } else {
         for(i=0; i<n; i++) {
-            int j = i;
+            j = i;
             if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
                 j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
             s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = j;