]> git.sesse.net Git - vlc/commitdiff
* sgimb.c: Fix construction of RTSP URL when opening simulcast sessions
authorDerk-Jan Hartman <hartman@videolan.org>
Fri, 12 Nov 2004 16:48:24 +0000 (16:48 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Fri, 12 Nov 2004 16:48:24 +0000 (16:48 +0000)
modules/demux/sgimb.c

index 323350e7d292eb872d87186f584d9b5b2e8fd3cb..0e0e0a75411c93c76a6f3c666c42129eee1d0ab5 100644 (file)
@@ -315,9 +315,9 @@ static int Demux ( demux_t *p_demux )
         {
             char *temp;
             
-            temp = (char *)malloc( sizeof("rtsp/live://" ":" "123456789") +
+            temp = (char *)malloc( sizeof("rtsp://" ":" "123456789") +
                                        strlen( p_sys->psz_server ) + strlen( p_sys->psz_location ) );
-            sprintf( temp, "rtsp/live://" "%s:%i%s",
+            sprintf( temp, "rtsp://" "%s:%i%s",
                      p_sys->psz_server, p_sys->i_port > 0 ? p_sys->i_port : 554, p_sys->psz_location );
             
             p_sys->psz_uri = strdup( temp );