summarylogtreecommitdiffstats
path: root/false_error.patch
diff options
context:
space:
mode:
authorSudokamikaze2016-12-21 19:08:59 +0200
committerSudokamikaze2016-12-21 19:08:59 +0200
commit0113361564d1810ea7bd06ee7aecba2c764d8085 (patch)
tree2e08fb3c7a8bf19d5984aa361d7d658f6975617c /false_error.patch
downloadaur-0113361564d1810ea7bd06ee7aecba2c764d8085.tar.gz
initial
Diffstat (limited to 'false_error.patch')
-rw-r--r--false_error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/false_error.patch b/false_error.patch
new file mode 100644
index 00000000000..a3221138dce
--- /dev/null
+++ b/false_error.patch
@@ -0,0 +1,13 @@
+--- ctl_eqaul.c 2013-02-06 22:09:11.000000000 +0100
++++ ctl_equal.c 2013-02-06 22:10:02.000000000 +0100
+@@ -263,8 +263,8 @@
+ for(i = 0; i < equal->num_input_controls; i++) {
+ if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) {
+ index = equal->control_data->control[i].index;
+- if(equal->klass->PortDescriptors[index] !=
+- (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) {
++ if(equal->klass->PortDescriptors[index] &
++ (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL) == 0) {
+ SNDERR("Problem with control file %s, %d.", controls, index);
+ return -1;
+ }