Commit 468c863c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

playlist: remove naive error case

Media library is crap, but that is not an excuse.
parent 3074057c
...@@ -271,8 +271,6 @@ playlist_t * playlist_Create( vlc_object_t *p_parent ) ...@@ -271,8 +271,6 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
p_playlist, _( "Media Library" ), p_playlist->p_root, p_playlist, _( "Media Library" ), p_playlist->p_root,
PLAYLIST_END, PLAYLIST_RO_FLAG, NULL ); PLAYLIST_END, PLAYLIST_RO_FLAG, NULL );
PL_UNLOCK; PL_UNLOCK;
if(!p_playlist->p_media_library ) return NULL;
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment