1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC

Reviewed-by: Sean McGovern <gseanmcg@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-28 16:34:57 +01:00
parent 7d9d400695
commit 4b44b5eaf0

View File

@ -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