filter-graph: run when both in and out != NULL

The check got reverted in 8ee51cd88f
This commit is contained in:
Wim Taymans 2025-06-03 17:54:06 +02:00
parent 56c6e19f99
commit 457b1c2e1e

View file

@ -1269,7 +1269,7 @@ static void delay_run(void * Instance, unsigned long SampleCount)
impl->delay_samples = SPA_CLAMP((uint32_t)(delay * impl->rate), 0u, impl->buffer_samples-1);
impl->delay = delay;
}
if (in != NULL && out == NULL) {
if (in != NULL && out != NULL) {
spa_fga_dsp_delay(impl->dsp, impl->buffer, &impl->ptr, impl->buffer_samples,
impl->delay_samples, out, in, SampleCount);
}