diff mbox series

[FFmpeg-devel,3/5] avutil/aarch64: Skip define AV_READ_TIME for apple

Message ID tencent_82529F41AB914E2A70182D249A1E406E9A08@qq.com
State New
Headers show
Series [FFmpeg-devel,1/5] checkasm/sw_rgb: test rgb24 to yuv | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Zhao Zhili June 4, 2024, 1:55 p.m. UTC
From: Zhao Zhili <zhilizhao@tencent.com>

It will fallback to mach_absolute_time inside libavutil/timer.h
 libavutil/aarch64/timer.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
diff mbox series


diff --git a/libavutil/aarch64/timer.h b/libavutil/aarch64/timer.h
index 8b28fd354c..fadc9568f8 100644
--- a/libavutil/aarch64/timer.h
+++ b/libavutil/aarch64/timer.h
@@ -24,13 +24,7 @@ 
 #include <stdint.h>
 #include "config.h"
-#if defined(__APPLE__)
-#include <mach/mach_time.h>
-#define AV_READ_TIME mach_absolute_time
+#if HAVE_INLINE_ASM && !defined(__APPLE__)
 #define AV_READ_TIME read_time