[FFmpeg-cvslog] avutil/cpu: Disable ff_getauxval() on x86
Andreas Rheinhardt
git at videolan.org
Sun Feb 2 18:30:56 EET 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jan 12 20:01:22 2025 +0100| [10047fea1c47fa77a8ddbeba217e1f88d62859cb] | committer: Andreas Rheinhardt
avutil/cpu: Disable ff_getauxval() on x86
Not used there.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=10047fea1c47fa77a8ddbeba217e1f88d62859cb
---
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
More information about the ffmpeg-cvslog
mailing list