]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/time.c
avfilter/transform: Stop exporting internal functions
[ffmpeg] / libavutil / time.c
index afa6658aa621a7bd48706b46849dd5538dbe3dcb..740afc4785088b91b8de2e78d55baf813f1d4981 100644 (file)
@@ -57,7 +57,7 @@ int64_t av_gettime_relative(void)
 {
 #if HAVE_CLOCK_GETTIME && defined(CLOCK_MONOTONIC)
 #ifdef __APPLE__
-    if (clock_gettime)
+    if (&clock_gettime)
 #endif
     {
         struct timespec ts;
@@ -72,7 +72,7 @@ int av_gettime_relative_is_monotonic(void)
 {
 #if HAVE_CLOCK_GETTIME && defined(CLOCK_MONOTONIC)
 #ifdef __APPLE__
-    if (!clock_gettime)
+    if (!&clock_gettime)
         return 0;
 #endif
     return 1;