avutil/aarch64: Skip define AV_READ_TIME for apple

It will fallback to mach_absolute_time inside libavutil/timer.h

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili 2024-06-07 21:44:49 +08:00
parent 94f2274a8b
commit 6a18c0bc87
1 changed files with 1 additions and 7 deletions

View File

@ -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
#elif HAVE_INLINE_ASM
#if HAVE_INLINE_ASM && !defined(__APPLE__)
#define AV_READ_TIME read_time