You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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
This commit is contained in:
@@ -1262,7 +1262,7 @@ SwsFunc ff_getSwsFunc(SwsContext *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) {
|
||||||
sws_init_swScale_altivec(c);
|
sws_init_swScale_altivec(c);
|
||||||
return swScale_altivec;
|
return swScale_altivec;
|
||||||
|
Reference in New Issue
Block a user