[SCM] libav/experimental: 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.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:04:50 UTC 2013
The following commit has been merged in the experimental branch:
commit 81bbd840fe49cb9cc91f236b0e5671b5b822cacd
Author: Diego Biurrun <diego at biurrun.de>
Date: Fri Mar 19 09:57:36 2010 +0000
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
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index de6eec6..1d255bc 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list