[vlc-commits] commit: live555: fix RTSP URL when it contains no path part (Pierre Ynard )
git at videolan.org
git at videolan.org
Wed May 5 07:52:02 CEST 2010
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed May 5 07:50:20 2010 +0200| [a7dd0605970b86e214c55500539a84aed93436ac] | committer: Pierre Ynard
live555: fix RTSP URL when it contains no path part
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a7dd0605970b86e214c55500539a84aed93436ac
---
modules/demux/live555.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index e6fab0a..9a4f56c 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;
}
More information about the vlc-commits
mailing list