]> git.sesse.net Git - vlc/commitdiff
Re-do [18770] - fixes #1287.
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 23 Sep 2007 16:16:23 +0000 (16:16 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 23 Sep 2007 16:16:23 +0000 (16:16 +0000)
And why the heck was this undone in the first place??

src/playlist/loadsave.c

index 55db54d2550abe88e4a5ddbe5c79c4cf9dfd8aa9..c86524175c8c50af9f52e92b5085c9f51382da8e 100644 (file)
@@ -89,6 +89,7 @@ int playlist_Export( playlist_t * p_playlist, const char *psz_filename ,
 
 int playlist_MLLoad( playlist_t *p_playlist )
 {
+#if 0
     const char *psz_datadir = p_playlist->p_libvlc->psz_datadir;
     char *psz_uri = NULL;
     input_item_t *p_input;
@@ -141,6 +142,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
 
 error:
     free( psz_uri );
+#endif
     return VLC_ENOMEM;
 }