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

playlist: fix ordering

parent 66c458f4
......@@ -178,8 +178,8 @@ int playlist_ServicesDiscoveryRemove(playlist_t *playlist, const char *name)
vlc_list_foreach(entry, &priv->sds, siblings)
if (!strcmp(name, entry->name))
{
vlc_list_remove(&sds->siblings);
sds = entry;
vlc_list_remove(&sds->siblings);
break;
}
playlist_Unlock(playlist);
......
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