mirror of https://github.com/mpv-player/mpv
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30937 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a04b23c3b3
commit
2406c23406
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue