]> git.sesse.net Git - vlc/commitdiff
livehttp: don't sanitize segment URI
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 15 Apr 2013 13:42:19 +0000 (16:42 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 15 Apr 2013 13:44:17 +0000 (16:44 +0300)
Should Fix: #8434

modules/access_output/livehttp.c

index 66e94d3cdd82a6bb4d46511bfb861af952af131e..5ac802df8be1f1ae92e8d69404b3ba41c3f3f962 100644 (file)
@@ -797,7 +797,7 @@ static ssize_t openNextFile( sout_access_out_t *p_access, sout_access_out_sys_t
     segment->i_segment_number = i_newseg;
     segment->psz_filename = formatSegmentPath( p_access->psz_path, i_newseg, true );
     char *psz_idxFormat = p_sys->psz_indexUrl ? p_sys->psz_indexUrl : p_access->psz_path;
-    segment->psz_uri = formatSegmentPath( psz_idxFormat , i_newseg, true );
+    segment->psz_uri = formatSegmentPath( psz_idxFormat , i_newseg, false );
 
     if ( unlikely( !segment->psz_filename ) )
     {