summaryrefslogtreecommitdiff
path: root/libs/ardour/gdither.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-11 21:42:10 +0000
committerDavid Robillard <d@drobilla.net>2008-05-11 21:42:10 +0000
commit4505d3aa99dde620ae2f63157920dae9658765ec (patch)
tree00d72a2b9b62fe0b4bdd2c8e8c17834af2a36ca0 /libs/ardour/gdither.cc
parentf844b2c2ab2fb54d3edc1e32366644071d68e688 (diff)
Fix compilation with GCC 4.3 (at least with SYSLIBS=1).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3334 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/gdither.cc')
-rw-r--r--libs/ardour/gdither.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/gdither.cc b/libs/ardour/gdither.cc
index 7242f857c8..a7006a0949 100644
--- a/libs/ardour/gdither.cc
+++ b/libs/ardour/gdither.cc
@@ -411,7 +411,7 @@ void gdither_runf(GDither s, uint32_t channel, uint32_t length,
ss, x, y, MAX_U8, MIN_U8);
break;
}
- } else if (s->bit_depth == s->dither_depth == 16) {
+ } else if (s->bit_depth == 16 && s->dither_depth == 16) {
switch (s->type) {
case GDitherNone:
gdither_innner_loop(GDitherNone, s->channels, 0.0f, SCALE_S16,