[vlc-commits] [Git][videolan/vlc][master] vt_utils: fix define checks

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jan 30 14:28:15 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
7205d862 by Steve Lhomme at 2025-01-30T14:14:35+00:00
vt_utils: fix define checks

- - - - -


1 changed file:

- modules/codec/vt_utils.c


Changes:

=====================================
modules/codec/vt_utils.c
=====================================
@@ -408,8 +408,8 @@ cvpx_map_TransferFunction_from_vtf(video_transfer_func_t transfer_func)
 }
 
 bool cvpx_has_attachment(CVPixelBufferRef pixelBuffer, CFStringRef key) {
-#if (TARGET_OS_OSX    && defined(__MAC_10_14)   && MAC_OS_X_VERSION_MAX_ALLOWED    >= __MAC_10_12) ||\
-    (TARGET_OS_IOS    && defined(__IPHONE_12_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_15_0) || \
+#if (TARGET_OS_OSX    && defined(__MAC_10_12)   && MAC_OS_X_VERSION_MAX_ALLOWED    >= __MAC_10_12) ||\
+    (TARGET_OS_IOS    && defined(__IPHONE_15_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_15_0) || \
     (TARGET_OS_TV     && defined(__TVOS_15_0)   && __TV_OS_VERSION_MAX_ALLOWED     >= __TVOS_15_0) || \
     (TARGET_OS_WATCH  && defined(__WATCHOS_8_0) && __WATCH_OS_VERSION_MAX_ALLOWED  >= __WATCHOS_8_0)
     if (__builtin_available(macOS 10.12, iOS 15, tvOS 15, watchOS 8, *)) {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7205d862823ab59b691cfe842814c420ffdf9ae6

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7205d862823ab59b691cfe842814c420ffdf9ae6
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list