diff options
author | Måns Rullgård <mans@mansr.com> | 2009-09-14 21:37:41 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-09-14 21:37:41 +0000 |
commit | 9ecc414195f4ef931e9dcfb9e6017fb7d757f124 (patch) | |
tree | 516d62e6f8f781518e2b38997e015cf79168a5bd /libavcodec/fft.c | |
parent | 89c4e176f6b22ddfadaea2ff698a7c479ede474e (diff) | |
download | ffmpeg-9ecc414195f4ef931e9dcfb9e6017fb7d757f124.tar.gz |
ARM: 10l: fix large FFTs
Originally committed as revision 19846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r-- | libavcodec/fft.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c index 93b4eb0434..538f66858b 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -64,7 +64,6 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) float alpha, c1, s1, s2; int split_radix = 1; int av_unused has_vectors; - int revtab_shift = 0; if (nbits < 2 || nbits > 16) goto fail; @@ -120,7 +119,6 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) s->imdct_calc = ff_imdct_calc_neon; s->imdct_half = ff_imdct_half_neon; s->mdct_calc = ff_mdct_calc_neon; - revtab_shift = 3; #endif if (split_radix) { @@ -134,8 +132,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) tab[m/2-i] = tab[i]; } for(i=0; i<n; i++) - s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = - i << revtab_shift; + s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = i; s->tmp_buf = av_malloc(n * sizeof(FFTComplex)); } else { int np, nblocks, np2, l; |