aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/cpu.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-01-12 20:01:22 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-02-02 17:03:20 +0100
commit10047fea1c47fa77a8ddbeba217e1f88d62859cb (patch)
treed2f77245589f8122ac916503c82b27e02647ec5c /libavutil/cpu.c
parent4afe61ea6c1568fce223287306ff40610d0ebecd (diff)
downloadffmpeg-10047fea1c47fa77a8ddbeba217e1f88d62859cb.tar.gz
avutil/cpu: Disable ff_getauxval() on x86
Not used there. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/cpu.c')
-rw-r--r--libavutil/cpu.c2
1 files changed, 2 insertions, 0 deletions
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