Skip to content
Snippets Groups Projects
Commit 29b742d3 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Rémi Denis-Courmont
Browse files

sout: udp: fix segfault parsing config chain

ex: --sout="{foo}"
parent adc1e739
No related branches found
No related tags found
1 merge request!1809sout: udp: fix segfault parsing config chain
Pipeline #213688 passed with stage
in 16 minutes and 22 seconds
......@@ -231,7 +231,7 @@ static int Open(vlc_object_t *obj)
if (strcmp(c->psz_name, "access") == 0)
break;
if (c == NULL) /* default is file, not for us */
if (c == NULL || c->psz_value == NULL) /* default is file, not for us */
return VLC_ENOTSUP;
if (strcmp(c->psz_value, "udp"))
return VLC_ENOTSUP;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment