mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse: fix list_prev
This commit is contained in:
parent
15f3d28e11
commit
29254b688a
2 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue