]> git.sesse.net Git - vlc/commitdiff
Fix playing stuff like http://213.205.97.105:80/tf1jt/jt20d11032006.asf
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 13 Mar 2006 21:51:36 +0000 (21:51 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 13 Mar 2006 21:51:36 +0000 (21:51 +0000)
which works using mmst but not mmsh (VLC only tried mmsh previously).

modules/demux/m3u.c

index ff0dcd41fd01c24ccb279735565dc320f7cb8be0..dfedca3f5f891daac264f002045a69737dd69ae4 100644 (file)
@@ -333,7 +333,7 @@ static int ParseLine( demux_t *p_demux, char *psz_line, char *psz_data,
             psz_bol++;
             if( !strncasecmp( psz_bol, "http://", sizeof("http://") -1 ) )
             {
-                psz_bol[0] = 'm'; psz_bol[1] = 'm'; psz_bol[2] = 's'; psz_bol[3] = 'h';
+                psz_bol[0] = 'm'; psz_bol[1] = 'm'; psz_bol[2] = 's'; psz_bol[3] = '/';
             }
         }
         else