Commit 567a3b09 authored by Laurent Aimar's avatar Laurent Aimar

Added missing lock assert to playlist_CurrentPlayingItem and playlist_Status.

parent 0969e58f
......@@ -304,11 +304,15 @@ static void VariablesInit( playlist_t *p_playlist )
playlist_item_t * playlist_CurrentPlayingItem( playlist_t * p_playlist )
{
PL_ASSERT_LOCKED;
return pl_priv(p_playlist)->status.p_item;
}
int playlist_Status( playlist_t * p_playlist )
{
PL_ASSERT_LOCKED;
return pl_priv(p_playlist)->status.i_status;
}
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