[FFmpeg-devel] [PATCH 07/18] swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC
Sean McGovern
gseanmcg at gmail.com
Fri Mar 29 16:55:12 EET 2024
Andreas:
On Thu, Mar 28, 2024 at 7:11 PM Andreas Rheinhardt
<andreas.rheinhardt at outlook.com> wrote:
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> 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
> --
> 2.40.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
This also looks good to me.
-- Sean McGovern
More information about the ffmpeg-devel
mailing list