Commit 62a727d3 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜 Committed by Sebastian Dröge
Browse files

decklink: Fix building on Windows

BSTR is already a pointer to a string
parent a357afb8
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#define bool BOOL #define bool BOOL
#define COMSTR_T BSTR* #define COMSTR_T BSTR
#define FREE_COM_STRING(s) delete[] s; #define FREE_COM_STRING(s) delete[] s;
#define CONVERT_COM_STRING(s) BSTR _s = (BSTR)s; s = _com_util::ConvertBSTRToString(_s); ::SysFreeString(_s); #define CONVERT_COM_STRING(s) BSTR _s = (BSTR)s; s = _com_util::ConvertBSTRToString(_s); ::SysFreeString(_s);
#else #else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment