Browse Source

access: decklink: fix opt leak

(cherry picked from commit 9f54ff720b)
cherry-pick-c5513cf9
Johannes Kauffmann 10 months ago
committed by Rémi Denis-Courmont
parent
commit
52b1b3df59
  1. 1
      modules/access/decklink.cpp

1
modules/access/decklink.cpp

@ -437,6 +437,7 @@ static int GetAudioConn(demux_t *demux)
return VLC_EGENERIC;
}
free(opt);
if (sys->config->SetInt(bmdDeckLinkConfigAudioInputConnection, c) != S_OK) {
msg_Err(demux, "Failed to set audio input connection");
return VLC_EGENERIC;

Loading…
Cancel
Save