[FFmpeg-devel] [PATCH] lavc/videotoolboxenc.c: Fix preprocessor macro for OSX, 10.10.5 and probably older versions

Thilo Borgmann thilo.borgmann at mail.de
Mon Jun 14 16:28:13 EEST 2021


Am 14.06.21 um 15:14 schrieb Marvin Scholz (ePirat):
> 
>> Am 14.06.2021 um 15:03 schrieb Thilo Borgmann <thilo.borgmann at mail.de>:
>>
>> Hi,
>>
>> TARGET_OS_OSX exists since OSX 10.10.6. TARGET_OS_MAC is there on both sides of 10.10.6. Fixes compilation on Yosemite.
>>
> 
> Hi Thilo, TARGET_OS_MAC is 1 when building for iOS as well, you need !TARGET_OS_IPHONE instead.

I thought so as well and other projects doing it that way.
The original author suggested _OS_MAC though.

I'll apply with !TARGET_OS_IPHONE.

Thanks!
Thilo

>> -Thilo
>> <0001-lavc-videotoolboxenc.c-Fix-preprocessor-macro-for-OS.patch>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> 



More information about the ffmpeg-devel mailing list