From 0f528dc73c02d5aad616db933538240b8bf3192c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 14 Dec 2020 09:49:44 +0100 Subject: [PATCH] splitter: place destination address in tmp array We then remap the tmp array to the destination array. Fixes #477 --- spa/plugins/audioconvert/splitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/audioconvert/splitter.c b/spa/plugins/audioconvert/splitter.c index 593eb7fc3..abf78f551 100644 --- a/spa/plugins/audioconvert/splitter.c +++ b/spa/plugins/audioconvert/splitter.c @@ -947,7 +947,7 @@ static int impl_node_process(void *object) outio->status = -EPIPE; empty: spa_log_trace_fp(this->log, NAME" %p: %d skip output", this, i); - dst_datas[n_dst_datas++] = SPA_PTR_ALIGN(this->empty, MAX_ALIGN, void); + tmp[n_dst_datas++] = SPA_PTR_ALIGN(this->empty, MAX_ALIGN, void); continue; }