Mercurial > libavcodec.hg
diff i386/fft_3dn.c @ 6755:33896780c612 libavcodec
Do not misuse long as the size of a register in x86.
typedef x86_reg as the appropriate size and use it instead.
author | ramiro |
---|---|
date | Thu, 08 May 2008 21:11:24 +0000 |
parents | d5ba514e3f4a |
children | f7cbb7733146 |
line wrap: on
line diff
--- a/i386/fft_3dn.c Thu May 08 14:02:35 2008 +0000 +++ b/i386/fft_3dn.c Thu May 08 21:11:24 2008 +0000 @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "dsputil.h" +#include "x86_cpu.h" static const int p1m1[2] __attribute__((aligned(8))) = { 0, 1 << 31 }; @@ -30,7 +31,8 @@ void ff_fft_calc_3dn(FFTContext *s, FFTComplex *z) { int ln = s->nbits; - long i, j; + long j; + x86_reg i; long nblocks, nloops; FFTComplex *p, *cptr;