ffmpeg | branch: release/5.1 | Brad Smith <b...@comstyle.com> | Tue Mar 11 
00:31:47 2025 -0400| [c0067757ab5972a709d4d437d81163a501079eaf] | committer: 
Brad Smith

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

(cherry picked from commit 49c8f33262d7c113c71cee9cd30b990a92afa0a1)
Signed-off-by: Brad Smith <b...@comstyle.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0067757ab5972a709d4d437d81163a501079eaf
---

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 2c8ec632b9..87b65d86d1 100755
--- a/configure
+++ b/configure
@@ -6093,7 +6093,7 @@ elif enabled ppc; then
         check_cpp_condition power8 "altivec.h" "defined(_ARCH_PWR8)"
     fi
 
-    if enabled altivec && disabled vsx; then
+    if enabled altivec; then
         check_cc vec_xl altivec.h "const unsigned char *y1i = { 0 };
                                    vector unsigned char y0 = vec_xl(0, y1i);"
     fi

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to