clang-format: Apply formatting
Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
IDeckLinkDiscovery *CreateDeckLinkDiscoveryInstance(void)
|
||||
{
|
||||
IDeckLinkDiscovery *instance;
|
||||
const HRESULT result = CoCreateInstance(CLSID_CDeckLinkDiscovery,
|
||||
nullptr, CLSCTX_ALL, IID_IDeckLinkDiscovery,
|
||||
(void **)&instance);
|
||||
const HRESULT result =
|
||||
CoCreateInstance(CLSID_CDeckLinkDiscovery, nullptr, CLSCTX_ALL,
|
||||
IID_IDeckLinkDiscovery, (void **)&instance);
|
||||
return result == S_OK ? instance : nullptr;
|
||||
}
|
||||
|
||||
bool DeckLinkStringToStdString(decklink_string_t input, std::string& output)
|
||||
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output)
|
||||
{
|
||||
if (input == nullptr)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user