2017-01-09 11:46 GMT+08:00 Steven Liu <lingjiujia...@gmail.com>: > > > 2017-01-09 11:06 GMT+08:00 Wang Bin <wbse...@gmail.com>: > >> ping >> >> 2017-01-03 14:26 GMT+08:00 Wang Bin <wbse...@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@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 <wbse...@gmail.com> --- libavutil/time.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) applied Thanks _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel