From 2919b55f7f2f910d580de28568846be6cf0266cf Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 16 Jun 2023 20:31:33 +0200 Subject: [PATCH] impl-link: don't set io in mix Let the implementation handle this when needed. The main problem is that we can set this to NULL before calling the port function and that might crash things. --- src/pipewire/impl-link.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pipewire/impl-link.c b/src/pipewire/impl-link.c index d4854ba6f..74b77af62 100644 --- a/src/pipewire/impl-link.c +++ b/src/pipewire/impl-link.c @@ -482,7 +482,6 @@ static int port_set_io(struct pw_impl_link *this, struct pw_impl_port *port, uin { int res = 0; - mix->io = data; pw_log_debug("%p: %s port %p %d.%d set io: %d %p %zd", this, pw_direction_as_string(port->direction), port, port->port_id, mix->port.port_id, id, data, size);