Commit c4b32a1a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

ndi: Zero-initialize ndi_opts

parent af05c336
......@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
{
int ret = 0;
ndi_opts ndi_opts;
ndi_opts ndi_opts = {0};
if(argc == 2) {
if(!strcmp(argv[1], "list")) {
ndi_discovery_ctx_t *ndi_discovery = libndi_discovery_init(ndi_mdns_callback_func);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment