[vlc-commits] livehttp: don't sanitize segment URI

Ilkka Ollakka git at videolan.org
Mon Apr 15 15:50:00 CEST 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Apr 15 16:42:19 2013 +0300| [37a6b6ee38d8a160121c60d30dc5638055d4eb1d] | committer: Ilkka Ollakka

livehttp: don't sanitize segment URI

Should Fix: #8434

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37a6b6ee38d8a160121c60d30dc5638055d4eb1d
---

 modules/access_output/livehttp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access_output/livehttp.c b/modules/access_output/livehttp.c
index 66e94d3..5ac802d 100644
--- a/modules/access_output/livehttp.c
+++ b/modules/access_output/livehttp.c
@@ -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 ) )
     {



More information about the vlc-commits mailing list