diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-01-12 20:01:22 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-02-02 17:03:20 +0100 |
commit | 10047fea1c47fa77a8ddbeba217e1f88d62859cb (patch) | |
tree | d2f77245589f8122ac916503c82b27e02647ec5c | |
parent | 4afe61ea6c1568fce223287306ff40610d0ebecd (diff) | |
download | ffmpeg-10047fea1c47fa77a8ddbeba217e1f88d62859cb.tar.gz |
avutil/cpu: Disable ff_getauxval() on x86
Not used there.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavutil/cpu.c | 2 |
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 |