Commit 0230e4e0 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Do not crash on vlm command: 'new somestring vod enabled', when the user...

Do not crash on vlm command: 'new somestring vod enabled', when the user forgot --rtsp-host <ipaddress>:<port> on the vlc commandline.
parent 15ba2b61
......@@ -215,7 +215,7 @@ static int Open( vlc_object_t *p_this )
goto error;
}
p_sys->psz_host = strdup( url.psz_host );
p_sys->psz_host = strdup( url.psz_host ? url.psz_host : "0.0.0.0" );
p_sys->psz_path = strdup( url.psz_path ? url.psz_path : "/" );
p_sys->i_port = url.i_port;
......
Markdown is supported
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