mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 17:40:12 +00:00
DeckLink cap.: fixed Cov. bugs CID 30144{3,4,5}
This commit is contained in:
@@ -1082,9 +1082,7 @@ bool device_state::init(struct vidcap_decklink_state *s, struct tile *t, BMDAudi
|
||||
// Create an IDeckLinkIterator object to enumerate all DeckLink cards in the system
|
||||
IDeckLinkIterator *deckLinkIterator = create_decklink_iterator(true, false);
|
||||
if (deckLinkIterator == NULL) {
|
||||
vf_free(s->frame);
|
||||
delete s;
|
||||
return VIDCAP_INIT_FAIL;
|
||||
return false;
|
||||
}
|
||||
bool found = false;
|
||||
while (deckLinkIterator->Next(&deckLink) == S_OK) {
|
||||
|
||||
Reference in New Issue
Block a user