I used the following workaround, but I think the altivec handing
code in swscale.c should be cleaned up.  I see that
debian/patches/040_only_use_maltivec_when_needed.diff introduced
some really ugly code that introduced this breakage.

-- 
Martin Michlmayr
http://www.cyrius.com/
--- a/libswscale/swscale_internal.h~	2007-10-19 16:02:53.000000000 +0000
+++ b/libswscale/swscale_internal.h	2007-10-19 16:03:36.000000000 +0000
@@ -21,6 +21,10 @@
 #ifndef SWSCALE_INTERNAL_H
 #define SWSCALE_INTERNAL_H
 
+#if defined (RUNTIME_CPUDETECT) && defined (CONFIG_GPL)
+#define HAVE_ALTIVEC
+#endif
+
 #ifdef ABI_ALTIVEC
 #ifdef HAVE_ALTIVEC_H
 #include <altivec.h>

Reply via email to