Commit 8002c90b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Don't accept request on dead playlist.

parent 24298341
......@@ -78,6 +78,9 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
playlist_item_t *p_item, *p_node;
vlc_value_t val;
if( !vlc_object_alive( p_playlist ) )
return VLC_EGENERIC;
if( playlist_IsEmpty( p_playlist ) )
return VLC_EGENERIC;
......
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