Commit a7dd0605 authored by Pierre Ynard's avatar Pierre Ynard

live555: fix RTSP URL when it contains no path part

parent 761d30d7
......@@ -487,7 +487,8 @@ static int Connect( demux_t *p_demux )
else
{
if( asprintf( &psz_url, "rtsp://%s:%d%s", p_sys->url.psz_host,
p_sys->url.i_port, p_sys->url.psz_path ) == -1 )
p_sys->url.i_port,
strempty( p_sys->url.psz_path ) ) == -1 )
return VLC_ENOMEM;
}
......
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