Value initialize class with () not {}

Fixes problems with GCC 4.6
This commit is contained in:
Martin Pulec
2014-09-17 10:12:42 +02:00
parent b1381c2d5f
commit 06affa3248
13 changed files with 18 additions and 18 deletions

View File

@@ -104,7 +104,7 @@ void release_bmd_api_str(BMD_STR string)
IDeckLinkIterator *create_decklink_iterator(bool verbose)
{
IDeckLinkIterator *deckLinkIterator{};
IDeckLinkIterator *deckLinkIterator = nullptr;
#ifdef WIN32
HRESULT result = CoCreateInstance(CLSID_CDeckLinkIterator, NULL, CLSCTX_ALL,
IID_IDeckLinkIterator, (void **) &deckLinkIterator);