[vlc-commits] playlist: don't abort if "media-library" is not specified

Thomas Guillem git at videolan.org
Mon Nov 17 19:00:40 CET 2014


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 17 14:53:09 2014 +0100| [701fc0c191195f31306699786285ec90983df608] | committer: Jean-Baptiste Kempf

playlist: don't abort if "media-library" is not specified

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 src/playlist/engine.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 990bcb1..b9e2a04 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -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;



More information about the vlc-commits mailing list