diff options
author | Romain Dolbeau <dolbeau@irisa.fr> | 2003-01-11 23:51:03 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-11 23:51:03 +0300 |
commit | e629ab68a7ed341ab7f92b7d18c73509429453f3 (patch) | |
tree | 86c5c43cb5b636349d692490cf1fb41cd2199c0b /libavcodec/fft.c | |
parent | f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d (diff) |
altivec jumbo patch by (Romain Dolbeau <dolbeaur at club-internet dot fr>)
Originally committed as revision 1448 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r-- | libavcodec/fft.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c index f060992f47..079d2d6a6e 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -57,9 +57,9 @@ int fft_init(FFTContext *s, int nbits, int inverse) #if defined(HAVE_MMX) has_vectors = mm_support() & MM_SSE; -#else - /* XXX: should also use mm_support() ? */ - has_vectors = has_altivec() & MM_ALTIVEC; +#endif +#if defined(HAVE_ALTIVEC) + has_vectors = mm_support() & MM_ALTIVEC; #endif if (has_vectors) { int np, nblocks, np2, l; |