[FFmpeg-devel] mac, ios clock_gettime patch
Steven Liu
lingjiujianke at gmail.com
Mon Jan 9 05:55:15 EET 2017
2017-01-09 11:46 GMT+08:00 Steven Liu <lingjiujianke at gmail.com>:
>
>
> 2017-01-09 11:06 GMT+08:00 Wang Bin <wbsecg1 at gmail.com>:
>
>> ping
>>
>> 2017-01-03 14:26 GMT+08:00 Wang Bin <wbsecg1 at gmail.com>:
>>
>> > If ffmpeg is build with iOS 10 sdk, program will crash on iOS 9. This
>> > patch fixes the crash.
>> >
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
> LGTM
>
>
[PATCH] avutil/tile: check clock_gettime at runtime for apple
platforms
clock_gettime is avalible since macOS 10.12 and iOS 10.0. Because of
weak linking, clock_gettime can be build without error with new
macOS/iOS sdk, but the symbol may not exist on the target system.
Explicitly checking the symbol is required.
https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html
Signed-off-by: Wang Bin <wbsecg1 at gmail.com>
---
libavutil/time.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
applied
Thanks
More information about the ffmpeg-devel
mailing list