mirror of https://git.ffmpeg.org/ffmpeg.git
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…
Reference in New Issue