[FFmpeg-cvslog] swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC
Andreas Rheinhardt
git at videolan.org
Sat Mar 30 06:26:50 EET 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Mar 28 16:34:57 2024 +0100| [4b44b5eaf0ad23c348317e5fa8f8a52cbdfc27b9] | committer: Andreas Rheinhardt
swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC
Reviewed-by: Sean McGovern <gseanmcg at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b44b5eaf0ad23c348317e5fa8f8a52cbdfc27b9
---
libswscale/swscale_internal.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index abeebbb002..2f6cc70946 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -34,7 +34,9 @@
#include "libavutil/pixfmt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/slicethread.h"
+#if HAVE_ALTIVEC
#include "libavutil/ppc/util_altivec.h"
+#endif
#include "libavutil/half2float.h"
#define STR(s) AV_TOSTRING(s) // AV_STRINGIFY is too long
More information about the ffmpeg-cvslog
mailing list