[FFmpeg-devel] mac, ios clock_gettime patch
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sat Feb 4 10:30:39 EET 2017
2017-01-03 7:26 GMT+01: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.
Does anybody know why clock_gettime() behaves differently than
kVTCompressionPropertyKey_H264EntropyMode in
libavcodec/videotoolboxenc.c?
Iiuc, the call to clock_gettime() crashes at runtime after a null
pointer dereference, trying to start ffmpeg on systems without
above symbol causes the following (I couldn't test myself):
dyld: Symbol not found: _kVTCompressionPropertyKey_H264EntropyMode
Carl Eugen
More information about the ffmpeg-devel
mailing list