diff options
| author | Freeimage <freeimage@aliceadsl.fr> | 2006-01-31 21:26:11 +0000 |
|---|---|---|
| committer | Freeimage <freeimage@aliceadsl.fr> | 2006-01-31 21:26:11 +0000 |
| commit | 355b88c15d2dcafe4074b725e2165511df02f2dd (patch) | |
| tree | a02e55bae93e0403ab99c168dd1a2f34d8894e00 /libopenjpeg/tcd.c | |
| parent | 74c1b3637e922cac859dbda5cfefee4dc4f365e1 (diff) | |
fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL
Diffstat (limited to 'libopenjpeg/tcd.c')
| -rw-r--r-- | libopenjpeg/tcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
