diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-02-03 04:31:48 +0000 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2023-02-03 09:18:37 -0800 |
commit | 69fb3785753cfcb2ea1c06e8ae5aa062de3d77a0 (patch) | |
tree | 2dd8456a2073aa6c601c30ff85ec9ae1084aca97 /audio/out | |
parent | af3c7f3d319e1ada4f1463fdfe48c14c3bcd09d3 (diff) | |
download | mpv-69fb3785753cfcb2ea1c06e8ae5aa062de3d77a0.tar.bz2 mpv-69fb3785753cfcb2ea1c06e8ae5aa062de3d77a0.tar.xz |
ao_pipewire: remove opencoded spa_zero()
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/ao_pipewire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_pipewire.c b/audio/out/ao_pipewire.c index 471a7fc9c3..41fbc2ff5f 100644 --- a/audio/out/ao_pipewire.c +++ b/audio/out/ao_pipewire.c @@ -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); |