ffmpeg | branch: master | Martin Storsjö <mar...@martin.st> | Tue Mar 25 21:54:56 2025 +0200| [d7d6e9ae696f07c879d3b4855fd659db3919efbf] | committer: Martin Storsjö
videotoolboxenc: Add an iOS version condition for VTCopySupportedPropertyDictionaryForEncoder This fixes building for iOS versions older than 11.0. Signed-off-by: Martin Storsjö <mar...@martin.st> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d7d6e9ae696f07c879d3b4855fd659db3919efbf --- libavcodec/videotoolboxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index e7f2c7b8eb..b748ecda61 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -1219,7 +1219,7 @@ static int vtenc_create_encoder(AVCodecContext *avctx, } #if defined (MAC_OS_X_VERSION_10_13) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_13) - if (__builtin_available(macOS 10.13, *)) { + if (__builtin_available(macOS 10.13, iOS 11.0, *)) { if (vtctx->supported_props) { CFRelease(vtctx->supported_props); vtctx->supported_props = NULL; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".