X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Ftime.c;h=740afc4785088b91b8de2e78d55baf813f1d4981;hb=8b3e6ce5f4ab1ebf3a54ff7e0ff440a1a5f842f7;hp=afa6658aa621a7bd48706b46849dd5538dbe3dcb;hpb=47e12966b75490cfa5fb8ed65a48a9a3d84a7bce;p=ffmpeg diff --git a/libavutil/time.c b/libavutil/time.c index afa6658aa62..740afc47850 100644 --- a/libavutil/time.c +++ b/libavutil/time.c @@ -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;