]> git.sesse.net Git - vlc/commitdiff
Revert previous commit.
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 5 Apr 2007 18:31:27 +0000 (18:31 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 5 Apr 2007 18:31:27 +0000 (18:31 +0000)
I thought the comments where pretty clear.

src/playlist/loadsave.c

index 4a32c991115dbeff6f908efad7b90bc5922941c9..8097d09589b7cc2d89caa41c3204f96cc971b4cf 100644 (file)
@@ -86,6 +86,9 @@ int playlist_Export( playlist_t * p_playlist, const char *psz_filename ,
 
 int playlist_MLLoad( playlist_t *p_playlist )
 {
+#ifndef THIS_PIECE_OF_CODE_IS_FIXED // see #1047 and possibly others
+    (void)p_playlist;
+#else
     char *psz_uri, *psz_homedir =p_playlist->p_libvlc->psz_homedir;
     input_item_t *p_input;
 
@@ -110,6 +113,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
     p_playlist->b_doing_ml = VLC_FALSE;
 
     free( psz_uri );
+#endif
     return VLC_SUCCESS;
 }