diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2023-12-11 12:26:55 -0500 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2023-12-11 18:38:09 +0100 |
commit | 944936ee1d2d52335ff264e3d97cdba868d2486c (patch) | |
tree | 4f5d81f95abee428e61af15ad5b35772614559b0 | |
parent | 98596f90f454bcbba4e86bd7b78daf892e461b53 (diff) | |
download | ffmpeg-944936ee1d2d52335ff264e3d97cdba868d2486c.tar.gz |
lavd/avfoundation: Use correct preprocessing directive
Fixes compilation, introduced in e37b15e.
src/libavdevice/avfoundation.m:799:10: error: invalid preprocessing directive
#elseif (TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED < 140000)
-rw-r--r-- | libavdevice/avfoundation.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index aa892fae60..c1432ec80f 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -796,7 +796,7 @@ static NSArray* getDevicesWithMediaType(AVMediaType mediaType) { } else if (mediaType == AVMediaTypeMuxed) { #if (TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= 170000 || (TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED >= 140000)) deviceTypes = [NSMutableArray arrayWithArray:@[AVCaptureDeviceTypeExternal]]; - #elseif (TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED < 140000) + #elif (TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED < 140000) deviceTypes = [NSMutableArray arrayWithArray:@[AVCaptureDeviceTypeExternalUnknown]]; #else return nil; |