mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
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:
parent
94f2274a8b
commit
6a18c0bc87
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user