summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/iec1ppmdsp.cc2
-rw-r--r--libs/ardour/iec2ppmdsp.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/iec1ppmdsp.cc b/libs/ardour/iec1ppmdsp.cc
index 47e953f1ab..79a572da1c 100644
--- a/libs/ardour/iec1ppmdsp.cc
+++ b/libs/ardour/iec1ppmdsp.cc
@@ -46,7 +46,7 @@ void Iec1ppmdsp::process (float *p, int n)
float z1, z2, m, t;
z1 = _z1 > 20 ? 20 : (_z1 < 0 ? 0 : _z1);
- z1 = _z2 > 20 ? 20 : (_z2 < 0 ? 0 : _z2);
+ z2 = _z2 > 20 ? 20 : (_z2 < 0 ? 0 : _z2);
m = _res ? 0: _m;
_res = false;
diff --git a/libs/ardour/iec2ppmdsp.cc b/libs/ardour/iec2ppmdsp.cc
index bb934166fc..caca744c52 100644
--- a/libs/ardour/iec2ppmdsp.cc
+++ b/libs/ardour/iec2ppmdsp.cc
@@ -46,7 +46,7 @@ void Iec2ppmdsp::process (float *p, int n)
float z1, z2, m, t;
z1 = _z1 > 20 ? 20 : (_z1 < 0 ? 0 : _z1);
- z1 = _z2 > 20 ? 20 : (_z2 < 0 ? 0 : _z2);
+ z2 = _z2 > 20 ? 20 : (_z2 < 0 ? 0 : _z2);
m = _res ? 0: _m;
_res = false;