[vlc-commits] playlist: prefix cannot be nul

Rémi Denis-Courmont git at videolan.org
Mon Jul 25 23:44:46 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 26 00:04:52 2016 +0300| [730718619a94467310ddfef6c262eaf1e6c409c3] | committer: Rémi Denis-Courmont

playlist: prefix cannot be nul

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

 modules/demux/playlist/playlist.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/playlist/playlist.c b/modules/demux/playlist/playlist.c
index cd08ee4..75aeab1 100644
--- a/modules/demux/playlist/playlist.c
+++ b/modules/demux/playlist/playlist.c
@@ -253,8 +253,6 @@ char *ProcessMRL( const char *psz_mrl, const char *psz_prefix )
     /* Simple cases first */
     if( !psz_mrl || !*psz_mrl )
         return NULL;
-    if( !psz_prefix || !*psz_prefix )
-        goto uri;
 
     /* Check if the line specifies an absolute path */
     /* FIXME: that's wrong if the playlist is not a local file */



More information about the vlc-commits mailing list