ffmpeg | branch: master | Reimar Döffinger <reimar.doeffin...@gmx.de> | Sun Oct 29 18:48:22 2023 +0100| [0ea184fc39b48096713dbdf9c9b39de3a976d6eb] | committer: Reimar Döffinger
libavutil/aarch64/cpu.c: HWCAPS requires inline asm support. Fixes compilation with tcc, which does not have aarch64 inline asm support. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ea184fc39b48096713dbdf9c9b39de3a976d6eb --- libavutil/aarch64/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/aarch64/cpu.c b/libavutil/aarch64/cpu.c index 2b50c426bc..f27fef3992 100644 --- a/libavutil/aarch64/cpu.c +++ b/libavutil/aarch64/cpu.c @@ -31,7 +31,7 @@ static int detect_flags(void) { int flags = 0; -#if defined(HWCAP_CPUID) +#if defined(HWCAP_CPUID) && HAVE_INLINE_ASM unsigned long hwcap = getauxval(AT_HWCAP); // We can check for DOTPROD and I8MM using HWCAP_ASIMDDP and // HWCAP2_I8MM too, avoiding to read the CPUID registers (which triggers _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".