diff options
author | Diego Biurrun <diego@biurrun.de> | 2010-03-19 09:57:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2010-03-19 09:57:36 +0000 |
commit | 81bbd840fe49cb9cc91f236b0e5671b5b822cacd (patch) | |
tree | 0fa604d5010e40a27f6a89aec150a214838d25a8 /libswscale | |
parent | 7a39f142a80963b16a675fb98a70df4b59d37adf (diff) | |
download | ffmpeg-81bbd840fe49cb9cc91f236b0e5671b5b822cacd.tar.gz |
Check whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.
COMPILE_ALTIVEC is never set to 1, it is just #defined.
Originally committed as revision 30937 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index de6eec6a2d..1d255bcb39 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1262,7 +1262,7 @@ SwsFunc ff_getSwsFunc(SwsContext *c) } #else -#if ARCH_PPC && COMPILE_ALTIVEC +#if ARCH_PPC && defined(COMPILE_ALTIVEC) if (flags & SWS_CPU_CAPS_ALTIVEC) { sws_init_swScale_altivec(c); return swScale_altivec; |