summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2023-02-03 16:25:24 +0000
committerPhilip Langdale <github.philipl@overt.org>2023-02-03 09:18:37 -0800
commitb0fb6999a431261f602321209509aec9c5534ae6 (patch)
tree676be97319cae004ecccc4ddaefab5698c24602c /audio/out
parentc8d9155c567378a15e3a1f998e78bc20328ee613 (diff)
downloadmpv-b0fb6999a431261f602321209509aec9c5534ae6.tar.bz2
mpv-b0fb6999a431261f602321209509aec9c5534ae6.tar.xz
ao_pipewire: remove unneeded goto
Diffstat (limited to 'audio/out')
-rw-r--r--audio/out/ao_pipewire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/ao_pipewire.c b/audio/out/ao_pipewire.c
index 89ef1925ab..b11cf645db 100644
--- a/audio/out/ao_pipewire.c
+++ b/audio/out/ao_pipewire.c
@@ -712,10 +712,10 @@ static void hotplug_registry_global_remove_cb(void *data, uint32_t id)
removed_sink = true;
spa_list_remove(&e->node);
talloc_free(e);
- goto done;
+ break;
}
}
-done:
+
pw_thread_loop_unlock(priv->loop);
if (removed_sink)