Patch attached
From 4f36a9abe91637a63fa4d0c647361efd1d75c92d Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
Date: Sun, 12 Jan 2025 20:01:22 +0100
Subject: [PATCH] avutil/cpu: Disable ff_getauxval() on x86
Not used there.
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
libavutil/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 6a6ec31eff..8f9b785ebc 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -298,6 +298,7 @@ size_t av_cpu_max_align(void)
return 8;
}
+#if !ARCH_X86
unsigned long ff_getauxval(unsigned long type)
{
#if HAVE_GETAUXVAL
@@ -314,3 +315,4 @@ unsigned long ff_getauxval(unsigned long type)
return 0;
#endif
}
+#endif
--
2.45.2
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".