[vlc-commits] playlist: fix ordering
Rémi Denis-Courmont
git at videolan.org
Mon Jun 18 19:09:30 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 18 20:07:32 2018 +0300| [963c21cc63f16c23c71a6cde67e360d666436456] | committer: Rémi Denis-Courmont
playlist: fix ordering
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=963c21cc63f16c23c71a6cde67e360d666436456
---
src/playlist/services_discovery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/playlist/services_discovery.c b/src/playlist/services_discovery.c
index e14682fc73..0cc7298667 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -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);
More information about the vlc-commits
mailing list