From 355b88c15d2dcafe4074b725e2165511df02f2dd Mon Sep 17 00:00:00 2001 From: Freeimage Date: Tue, 31 Jan 2006 21:26:11 +0000 Subject: fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL --- libopenjpeg/tcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libopenjpeg/tcd.c') diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c index 77fca831..82340207 100644 --- a/libopenjpeg/tcd.c +++ b/libopenjpeg/tcd.c @@ -945,7 +945,7 @@ void tcd_makelayer(opj_tcd_t *tcd, int layno, double thresh, int final) { dd = pass->distortiondec - cblk->passes[n - 1].distortiondec; } if (!dr) { - if (dd) + if (dd != 0) n = passno + 1; continue; } -- cgit v1.2.3