You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang v2
v2: test for function if AltiVec is enabled instead of with AltiVec and without VSX
This commit is contained in:
2
configure
vendored
2
configure
vendored
@ -6423,7 +6423,7 @@ elif enabled ppc; then
|
|||||||
check_cpp_condition power8 "altivec.h" "defined(_ARCH_PWR8)"
|
check_cpp_condition power8 "altivec.h" "defined(_ARCH_PWR8)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if enabled altivec && disabled vsx; then
|
if enabled altivec; then
|
||||||
check_cc vec_xl altivec.h "const unsigned char *y1i = { 0 };
|
check_cc vec_xl altivec.h "const unsigned char *y1i = { 0 };
|
||||||
vector unsigned char y0 = vec_xl(0, y1i);"
|
vector unsigned char y0 = vec_xl(0, y1i);"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user