]> git.sesse.net Git - vlc/commitdiff
* src/input/input.c: hack to allow for the udp:@:port syntax again... not really...
authorGildas Bazin <gbazin@videolan.org>
Thu, 9 Sep 2004 14:47:33 +0000 (14:47 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 9 Sep 2004 14:47:33 +0000 (14:47 +0000)
src/input/input.c

index f36152369856d907ab5acb1bf22d7eab7a17ffbf..77389241ffce02d69652b0aa3c24a51a443864cb 100644 (file)
@@ -1540,6 +1540,10 @@ static int InputSourceInit( input_thread_t *p_input,
     msg_Dbg( p_input, "`%s' gives access `%s' demux `%s' path `%s'",
              psz_mrl, psz_access, psz_demux, psz_path );
 
+    /* Hack to allow udp://@:port syntax */
+    if( !psz_access ||
+        (strncmp( psz_access, "udp", 3 ) && strncmp( psz_access, "rtp", 3 )) )
+
     /* Find optional titles and seekpoints */
     MRLSections( p_input, psz_path, &in->i_title_start, &in->i_title_end,
                  &in->i_seekpoint_start, &in->i_seekpoint_end );