diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:27:21 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:27:21 +0000 |
commit | 49c0dd754c85e2cbb7dfe8d63dbb7141cddaeb61 (patch) | |
tree | f91e06bf62b7b2ac179d278850f43c82148bd791 /libavcodec/fft.c | |
parent | 5d0ddd1a9fcdfbb6b24e75af4384e1d36a1d331e (diff) | |
download | ffmpeg-49c0dd754c85e2cbb7dfe8d63dbb7141cddaeb61.tar.gz |
indent
Originally committed as revision 14699 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r-- | libavcodec/fft.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c index 7b0d3b3b61..c8acfc6017 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -164,15 +164,14 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse) } 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; |