]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/arm/timer.h
avfilter/avfilter: Remove deprecated avfilter_link_set_closed()
[ffmpeg] / libavutil / arm / timer.h
index 5e8bc8edd07bd4e92b773c6517bbe7bb4576d8b9..caf23e2a5aaca9128f307990dc267508daa6df1b 100644 (file)
 #include <stdint.h>
 #include "config.h"
 
-#if HAVE_INLINE_ASM && defined(__ARM_ARCH_7A__)
+#if defined(__APPLE__)
+
+#include <mach/mach_time.h>
+
+#define AV_READ_TIME mach_absolute_time
+
+#elif HAVE_INLINE_ASM && defined(__ARM_ARCH_7A__)
 
 #define AV_READ_TIME read_time