From a7dd0605970b86e214c55500539a84aed93436ac Mon Sep 17 00:00:00 2001 From: Pierre Ynard Date: Wed, 5 May 2010 07:50:20 +0200 Subject: [PATCH] live555: fix RTSP URL when it contains no path part --- modules/demux/live555.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index e6fab0a400..9a4f56cdea 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -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; } -- 2.39.2