vlc | branch: master | Devin Heitmueller <[email protected]> | Fri Jan 18 11:16:56 2019 -0500| [5856f6c69234e6c0b401c05a5f9d49bcb13491ee] | committer: Marvin Scholz
decklink: Fix compile breakage on MacOS The following commit broke compilation of the decklink modules on OSX, since CFStringRef is already const. commit 651c58b9b4b1666116046ce3e496303704ba202a Author: Marvin Scholz <[email protected]> Date: Mon Oct 22 09:27:21 2018 +0200 Decklink: Use typedef instead of macro Signed-off-by: Devin Heitmueller <[email protected]> Signed-off-by: Marvin Scholz <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5856f6c69234e6c0b401c05a5f9d49bcb13491ee --- modules/access/vlc_decklink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/vlc_decklink.h b/modules/access/vlc_decklink.h index 9855050f64..5faa7acc4a 100644 --- a/modules/access/vlc_decklink.h +++ b/modules/access/vlc_decklink.h @@ -37,7 +37,7 @@ #elif defined(__APPLE__) #include <vlc_common.h> #include <vlc_charset.h> -typedef const CFStringRef decklink_str_t; +typedef CFStringRef decklink_str_t; #define DECKLINK_STRDUP(s) FromCFString(s, kCFStringEncodingUTF8) #define DECKLINK_FREE(s) CFRelease(s) #else _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
