diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-05-08 21:11:24 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-05-08 21:11:24 +0000 |
commit | 40d0e665d09aca5918c0b70b7045f32fae71f3eb (patch) | |
tree | 90a376cb30c157bbb7b682d62a5c776e4a8917f0 /libavcodec/i386/fft_3dn.c | |
parent | 35027eddf3113fa8a0e0c72aad12c9ac6a9a5228 (diff) | |
download | ffmpeg-40d0e665d09aca5918c0b70b7045f32fae71f3eb.tar.gz |
Do not misuse long as the size of a register in x86.
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/fft_3dn.c')
-rw-r--r-- | libavcodec/i386/fft_3dn.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/i386/fft_3dn.c b/libavcodec/i386/fft_3dn.c index 4231d855af..700a1e4bae 100644 --- a/libavcodec/i386/fft_3dn.c +++ b/libavcodec/i386/fft_3dn.c @@ -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 @@ static const int m1p1[2] __attribute__((aligned(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; |