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

playlist: playlist_RecursiveNodeSort() asserts the playlist lock

As any function that requires a valid playlist item as parameter, the
function can only make sense with the lock already held by the caller.
parent 7b2ff4df
......@@ -193,6 +193,8 @@ static int recursiveNodeSort( playlist_t *p_playlist, playlist_item_t *p_node,
int playlist_RecursiveNodeSort( playlist_t *p_playlist, playlist_item_t *p_node,
int i_mode, int i_type )
/* Ask the playlist to reset as we are changing the order */
pl_priv(p_playlist)->b_reset_currently_playing = true;
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