]> code.delx.au - pulseaudio/commitdiff
The previous commit introduced a new bug: giving too many values in the "control...
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 3 Jan 2008 21:53:46 +0000 (21:53 +0000)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 3 Jan 2008 21:53:46 +0000 (21:53 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2093 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-ladspa-sink.c

index ef4ad3fb36916023ed7726514e90f113cf2d0b72..bcf622909df89418cc271c24e52d008865c170cc 100644 (file)
@@ -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;
         }