[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] traverso/src/core gdither.cpp
From: |
Remon Sijrier |
Subject: |
[Traverso-commit] traverso/src/core gdither.cpp |
Date: |
Sat, 14 Mar 2009 14:13:47 +0000 |
CVSROOT: /sources/traverso
Module name: traverso
Changes by: Remon Sijrier <r_sijrier> 09/03/14 14:13:46
Modified files:
src/core : gdither.cpp
Log message:
* fix compile time warning
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/gdither.cpp?cvsroot=traverso&r1=1.3&r2=1.4
Patches:
Index: gdither.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/gdither.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gdither.cpp 8 Jul 2007 23:16:57 -0000 1.3
+++ gdither.cpp 14 Mar 2009 14:13:46 -0000 1.4
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * $Id: gdither.cpp,v 1.3 2007/07/08 23:16:57 benjie Exp $
+ * $Id: gdither.cpp,v 1.4 2009/03/14 14:13:46 r_sijrier Exp $
*/
#include <gdither_types_internal.h>
@@ -413,7 +413,7 @@
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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Traverso-commit] traverso/src/core gdither.cpp,
Remon Sijrier <=