mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
573 B

When altivec is disabled there is no swScale_altivec ...
Additionally cleaned up the else case a bit.
- Rene Rebe <rene@rocklinux.org>
RUN_CPUDETECT='0' failed, cut down to the bare minimum.
- Dimitar Zhekov <jimmy@is-vn.bg>
--- ./postproc/swscale.c.orig 2004-04-26 22:38:17.000000000 +0300
+++ ./postproc/swscale.c 2004-05-08 12:53:21.000000000 +0300
@@ -1344,10 +1344,11 @@
#else
#ifdef ARCH_POWERPC
+#ifdef HAVE_ALTIVEC
if(flags & SWS_CPU_CAPS_ALTIVEC)
return swScale_altivec;
else
- return swScale_C;
+#endif
#endif
return swScale_C;
#endif