1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00

fix compilation issue on powerpc

unlike the ARCH_ macros, COMPILE_ALTIVEC needs to be tested more carefully


Originally committed as revision 22488 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
This commit is contained in:
Reinhard Tartler 2010-03-12 20:35:04 +00:00
parent 557e065d5f
commit 7fd4cbb519

View File

@ -1649,7 +1649,7 @@ static SwsFunc getSwsFunc(int flags){
return swScale_C; return swScale_C;
#else #else
#if ARCH_PPC && COMPILE_ALTIVEC #if ARCH_PPC && defined COMPILE_ALTIVEC
if (flags & SWS_CPU_CAPS_ALTIVEC) if (flags & SWS_CPU_CAPS_ALTIVEC)
return swScale_altivec; return swScale_altivec;
else else