Commit 8803463a authored by Eric Petit's avatar Eric Petit

Backport of [11286]

parent 5df7c698
......@@ -896,6 +896,13 @@ playlist_item_t *playlist_RecursiveFindPrev( playlist_t *p_playlist,
/* Go up one level */
p_parent_parent = playlist_FindDirectParent( p_playlist,
p_parent, i_view );
if( p_parent_parent == NULL )
{
#ifdef PLAYLIST_DEBUG
msg_Dbg( p_playlist, "Mmmh, couldn't find parent" );
#endif
return NULL;
}
return playlist_RecursiveFindPrev( p_playlist, i_view,p_root,
p_parent, p_parent_parent );
}
......
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