module-filter-chain: don't use i for single filename

While this shouldn't be broken, it's illogical
This commit is contained in:
Dmitry Sharshakov 2023-09-01 18:26:14 +03:00 committed by Wim Taymans
parent ffff61e869
commit 18b0fe1e05

View file

@ -921,7 +921,7 @@ static void * convolver_instantiate(const struct fc_descriptor * Descriptor,
pw_log_error("convolver:filename requires a string or an array");
return NULL;
} else {
filenames[i] = strdup(v);
filenames[0] = strdup(v);
}
}
else if (spa_streq(key, "offset")) {