1 diff -ruN libswscale/swscale.c libswscale/swscale.c
2 --- libswscale/swscale.c 2009-04-03 19:36:49.000000000 +0200
3 +++ libswscale/swscale.c 2009-04-03 19:40:06.000000000 +0200
8 -#if (HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)) && CONFIG_GPL
10 +#if HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)
11 #define COMPILE_ALTIVEC
16 static SwsFunc getSwsFunc(int flags){
18 -#if defined(RUNTIME_CPUDETECT) && CONFIG_GPL
20 +#if defined(RUNTIME_CPUDETECT)
21 +#if ARCH_X86 && CONFIG_GPL
22 // ordered per speed fastest first
23 if (flags & SWS_CPU_CAPS_MMX2)