diff options
author | David Robillard <d@drobilla.net> | 2008-05-11 21:42:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-11 21:42:10 +0000 |
commit | 4505d3aa99dde620ae2f63157920dae9658765ec (patch) | |
tree | 00d72a2b9b62fe0b4bdd2c8e8c17834af2a36ca0 /libs/ardour/gdither.cc | |
parent | f844b2c2ab2fb54d3edc1e32366644071d68e688 (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.cc | 2 |
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, |