[pulseaudio-commits] r2093 - /trunk/src/modules/module-ladspa-sink.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Thu Jan 3 13:53:47 PST 2008
Author: tanuk
Date: Thu Jan 3 22:53:46 2008
New Revision: 2093
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2093&root=pulseaudio&view=rev
Log:
The previous commit introduced a new bug: giving too many values in the "control" argument wasn't detected any more. Fixed.
Modified:
trunk/src/modules/module-ladspa-sink.c
Modified: trunk/src/modules/module-ladspa-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-ladspa-sink.c?rev=2093&root=pulseaudio&r1=2092&r2=2093&view=diff
==============================================================================
--- trunk/src/modules/module-ladspa-sink.c (original)
+++ trunk/src/modules/module-ladspa-sink.c Thu Jan 3 22:53:46 2008
@@ -470,7 +470,7 @@
p++;
}
- if (p > n_control) {
+ if (p > n_control || k) {
pa_log("Too many control values passed, %lu expected.", n_control);
goto fail;
}
More information about the pulseaudio-commits
mailing list