decklink: Fix compiler warnings with gcc in the dispatcher

This commit is contained in:
Sebastian Dröge 2014-12-03 16:01:11 +01:00
parent c4ba73e39b
commit d0892984bc

View file

@ -51,7 +51,7 @@ static CreateOpenGLScreenPreviewHelperFunc gCreateOpenGLPreviewFunc = NULL;
static CreateVideoConversionInstanceFunc gCreateVideoConversionFunc = NULL; static CreateVideoConversionInstanceFunc gCreateVideoConversionFunc = NULL;
static CreateDeckLinkDiscoveryInstanceFunc gCreateDeckLinkDiscoveryFunc = NULL; static CreateDeckLinkDiscoveryInstanceFunc gCreateDeckLinkDiscoveryFunc = NULL;
void InitDeckLinkAPI (void) static void InitDeckLinkAPI (void)
{ {
void *libraryHandle; void *libraryHandle;
@ -78,7 +78,7 @@ void InitDeckLinkAPI (void)
fprintf(stderr, "%s\n", dlerror()); fprintf(stderr, "%s\n", dlerror());
} }
void InitDeckLinkPreviewAPI (void) static void InitDeckLinkPreviewAPI (void)
{ {
void *libraryHandle; void *libraryHandle;
@ -93,11 +93,13 @@ void InitDeckLinkPreviewAPI (void)
fprintf(stderr, "%s\n", dlerror()); fprintf(stderr, "%s\n", dlerror());
} }
#if 0
bool IsDeckLinkAPIPresent (void) bool IsDeckLinkAPIPresent (void)
{ {
// If the DeckLink API dynamic library was successfully loaded, return this knowledge to the caller // If the DeckLink API dynamic library was successfully loaded, return this knowledge to the caller
return gLoadedDeckLinkAPI; return gLoadedDeckLinkAPI;
} }
#endif
IDeckLinkIterator* CreateDeckLinkIteratorInstance (void) IDeckLinkIterator* CreateDeckLinkIteratorInstance (void)
{ {