]> git.sesse.net Git - vlc/commitdiff
playlist: don't abort if "media-library" is not specified
authorThomas Guillem <thomas@gllm.fr>
Mon, 17 Nov 2014 13:53:09 +0000 (14:53 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Nov 2014 18:00:34 +0000 (19:00 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/playlist/engine.c

index 990bcb1b63c622249fa1733f10c34e4523e89ea1..b9e2a045a1220ef9f178c1d3e1123bed14cd5b38 100644 (file)
@@ -244,7 +244,7 @@ playlist_t *playlist_Create( vlc_object_t *p_parent )
         ml = NULL;
     PL_UNLOCK;
 
-    if( unlikely(root == NULL || playing == NULL || ml == NULL) )
+    if( unlikely(root == NULL || playing == NULL) )
         abort();
 
     p_playlist->p_root = root;