0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

ao_pipewire: remove opencoded spa_zero()

This commit is contained in:
Thomas Weißschuh 2023-02-03 04:31:48 +00:00 committed by Philip Langdale
parent af3c7f3d31
commit 69fb378575

View File

@ -740,7 +740,7 @@ static int hotplug_init(struct ao *ao)
pw_thread_loop_lock(priv->loop);
spa_memzero(&priv->hotplug, sizeof(priv->hotplug));
spa_zero(priv->hotplug);
spa_list_init(&priv->hotplug.sinks);
priv->hotplug.registry = pw_core_get_registry(priv->core, PW_VERSION_REGISTRY, 0);