Re: [FFmpeg-devel] [PATCH] lavu: use address-of operator checking clock_gettime

2020-12-23 Thread Marvin Scholz
Ping. On 8 Dec 2020, at 23:18, Marvin Scholz wrote: > When targeting a recent enough macOS/iOS version that has clock_gettime > it won't be a weak symbol, in which case clang warns for this check > as it's always true: > > warning: address of function 'clock_gettime' will always > evaluate

Re: [FFmpeg-devel] [PATCH] lavu: use address-of operator checking clock_gettime

2020-12-17 Thread Marvin Scholz
Ping On 8 Dec 2020, at 23:18, Marvin Scholz wrote: > When targeting a recent enough macOS/iOS version that has clock_gettime > it won't be a weak symbol, in which case clang warns for this check > as it's always true: > > warning: address of function 'clock_gettime' will always > evaluate to

[FFmpeg-devel] [PATCH] lavu: use address-of operator checking clock_gettime

2020-12-08 Thread Marvin Scholz
When targeting a recent enough macOS/iOS version that has clock_gettime it won't be a weak symbol, in which case clang warns for this check as it's always true: warning: address of function 'clock_gettime' will always evaluate to 'true' This warning is silenced by using the address-of