[MPlayer-dev-eng] swscale.c and Altivec compilation
Andrea Palmatè
andrea at amigasoft.net
Thu Apr 21 20:55:40 CEST 2005
Hi All,
in swscale.c file there are this lines:
#ifdef ARCH_POWERPC
if(flags & SWS_CPU_CAPS_ALTIVEC)
return swScale_altivec;
else
return swScale_C;
#endif
return swScale_C;
#endif
but there is a problem. If I have a G4/G5 with Altivec and i don't want
compile with altivec, the compilation phase is interrupted because
swScale_altivec is not defined. It should be replaced with:
#if defined(ARCH_POWERPC) && defined(HAVE_ALTIVEC)
if(flags & SWS_CPU_CAPS_ALTIVEC)
return swScale_altivec;
else
return swScale_C;
#endif
return swScale_C;
#endif
Bye,
Andrea Palmatè
More information about the MPlayer-dev-eng
mailing list