[vlc-commits] M3U export: fix URLs with non-ASCII characters (fixes #15455)

Rémi Denis-Courmont git at videolan.org
Mon Nov 21 21:15:00 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 21 22:14:23 2016 +0200| [8b37b6e7282271f95dcb090ade7134dc550f3faf] | committer: Rémi Denis-Courmont

M3U export: fix URLs with non-ASCII characters (fixes #15455)

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

 modules/misc/playlist/m3u.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/misc/playlist/m3u.c b/modules/misc/playlist/m3u.c
index f1fb103..4f7b308 100644
--- a/modules/misc/playlist/m3u.c
+++ b/modules/misc/playlist/m3u.c
@@ -104,13 +104,6 @@ static void DoChildren( playlist_export_t *p_export, playlist_item_t *p_root,
         }
         vlc_mutex_unlock( &p_current->p_input->lock );
 
-        /* Stupid third party players don't understand file: URIs. */
-        char *psz_path = vlc_uri2path( psz_uri );
-        if( psz_path != NULL )
-        {
-            free( psz_uri );
-            psz_uri = psz_path;
-        }
         fprintf( p_export->p_file, "%s\n", psz_uri );
         free( psz_uri );
     }



More information about the vlc-commits mailing list