Mercurial > libavcodec.hg
diff x86/fft_sse.c @ 12405:b64b8e5a2d3a libavcodec
imdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".
It generates smaller cleaner code.
author | alexc |
---|---|
date | Mon, 23 Aug 2010 15:51:09 +0000 |
parents | 020540442072 |
children |
line wrap: on
line diff
--- a/x86/fft_sse.c Mon Aug 23 13:19:48 2010 +0000 +++ b/x86/fft_sse.c Mon Aug 23 15:51:09 2010 +0000 @@ -74,7 +74,7 @@ void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input) { x86_reg j, k; - long n = 1 << s->mdct_bits; + long n = s->mdct_size; long n4 = n >> 2; ff_imdct_half_sse(s, output+n4, input);