1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
ffmpeg/libavdevice
Martin Storsjö 0bffa4a84d avfoundation: Fix compilation for iOS
This fixes building for iOS after commit
c2802e520a.

On iOS, the fallback define kIOMasterPortDefault is never available.
The newer define kIOMainPortDefault is available since iOS 15.

However, if building with older iOS SDKs (iOS 15 SDK or older) then
IOKit is entirely missing. This caused compilation to succeed if
building with such older versions of the iOS SDK.

If building with a newer iOS SDK/Xcode but targeting an older version
of iOS, then IOKit is available, but compilation would fail as
kIOMasterPortDefault wasn't available.

Thus, this fixes compilation for iOS with iOS 16 SDKs and newer,
which was previously broken.
2026-08-28 00:07:13 +03:00
..
2025-08-03 13:48:47 +02:00
2024-03-31 00:08:43 +01:00
…
2025-08-03 13:48:47 +02:00
2024-03-31 00:08:43 +01:00