summaryrefslogtreecommitdiffstats
path: root/src/modules/module-ladspa-sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/module-ladspa-sink.c')
-rw-r--r--src/modules/module-ladspa-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c
index ef4ad3fb..bcf62290 100644
--- a/src/modules/module-ladspa-sink.c
+++ b/src/modules/module-ladspa-sink.c
@@ -470,7 +470,7 @@ int pa__init(pa_module*m) {
p++;
}
- if (p > n_control) {
+ if (p > n_control || k) {
pa_log("Too many control values passed, %lu expected.", n_control);
goto fail;
}