Mercurial > mplayer.hg
changeset 30895:f08d81b195fa
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.
author | diego |
---|---|
date | Fri, 19 Mar 2010 09:57:36 +0000 |
parents | aac2ca51ece0 |
children | 28af330d8c96 |
files | libswscale/swscale.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Thu Mar 18 23:37:57 2010 +0000 +++ b/libswscale/swscale.c Fri Mar 19 09:57:36 2010 +0000 @@ -1262,7 +1262,7 @@ } #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;