mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/fft: Fix "warning: unused variable"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
62cf5c114a
commit
6bbcae2c16
@ -189,7 +189,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
|
|||||||
fft_perm_avx(s);
|
fft_perm_avx(s);
|
||||||
} else {
|
} else {
|
||||||
for(i=0; i<n; i++) {
|
for(i=0; i<n; i++) {
|
||||||
int j = i;
|
j = i;
|
||||||
if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
|
if (s->fft_permutation == FF_FFT_PERM_SWAP_LSBS)
|
||||||
j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
|
j = (j&~3) | ((j>>1)&1) | ((j<<1)&2);
|
||||||
s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = j;
|
s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = j;
|
||||||
|
Loading…
Reference in New Issue
Block a user