pulse: fix list_prev

This commit is contained in:
Wim Taymans 2019-11-04 16:40:28 +01:00
parent 15f3d28e11
commit 29254b688a
2 changed files with 4 additions and 1 deletions

View file

@ -673,7 +673,7 @@ static inline void insert_global(pa_context *c, struct global *global)
spa_list_for_each_safe(g, t, &c->globals, link) {
if (g->priority_master < global->priority_master) {
g = g->link.prev;
g = spa_list_prev(g, link);
break;
}
}