27e9428 added support for DeckLink SDK 14.3, which introduced IID_IUnknown. It is natively defined via LinuxCOM.h on Linux and via Windows headers on Windows, but is missing on macOS, breaking the build on macOS. --- libavdevice/decklink_common.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h index 095b438bce..b4f56265a8 100644 --- a/libavdevice/decklink_common.h +++ b/libavdevice/decklink_common.h @@ -86,6 +86,7 @@ static char *dup_cfstring_to_utf8(CFStringRef w) #define DECKLINK_STR const __CFString * #define DECKLINK_STRDUP dup_cfstring_to_utf8 #define DECKLINK_FREE(s) CFRelease(s) +#define IID_IUnknown CFUUIDGetUUIDBytes(IUnknownUUID) #else #define DECKLINK_STR const char * #define DECKLINK_STRDUP av_strdup -- 2.50.1 (Apple Git-155) _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
