summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
Diffstat (limited to 'filters')
-rw-r--r--filters/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/filter.c b/filters/filter.c
index 84721b6c5e..8d88a7746e 100644
--- a/filters/filter.c
+++ b/filters/filter.c
@@ -325,7 +325,7 @@ static void init_connection(struct mp_pin *p)
// manual connections at the ends is still disconnected (or if this
// attempted to extend an existing connection, becomes dangling and gets
// disconnected).
- if (!in->manual_connection && !out->manual_connection)
+ if (!in->manual_connection || !out->manual_connection)
return;
assert(in->dir == MP_PIN_IN);