Commit f41035fb authored by Pierre Ynard's avatar Pierre Ynard Committed by Jean-Baptiste Kempf

live555: fix RTSP URL when it contains no path part

(cherry picked from commit a7dd0605970b86e214c55500539a84aed93436ac)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 01633714
......@@ -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