fixed a bug in codec/convert.c that prevented to build executables with WIN32 compile...
authorAntonin Descampe <antonin@gmail.com>
Sun, 28 Nov 2010 18:40:57 +0000 (18:40 +0000)
committerAntonin Descampe <antonin@gmail.com>
Sun, 28 Nov 2010 18:40:57 +0000 (18:40 +0000)
CHANGES
codec/convert.c

diff --git a/CHANGES b/CHANGES
index ea244b74f85d20b45dcd6f414f58fa0b98976cb5..e4a6b4e0ea42e8776220616eb696f0bd858c5e42 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ What's New for OpenJPEG
 + : added
 
 November 28, 2010
+* [antonin] fixed a bug in codec/convert.c that prevented to build executables with WIN32 compiler (thanks winfried)
 ! [antonin] changed cmake behaviour: executables are now always statically linked. When -DBUIL_SHARED_LIBS option is ON (the default), the shared versions of the libraries are also built (but executables remain linked against the static libraries).
 
 November 25, 2010
index 45cf2563c91a7b520d7a5004fe6a16eeb76debc7..aaa22d536be86d1cec67819aab8c3e6e7ee46f36 100644 (file)
@@ -2373,7 +2373,7 @@ int imagetopng(opj_image_t * image, const char *write_idf)
        unsigned char *row_buf, *d;
        int has_alpha, width, height, nr_comp, color_type;
        int adjustR, adjustG, adjustB, x, y, fails, is16, force16;
-       int opj_prec, prec, ushift, dshift;;
+       int opj_prec, prec, ushift, dshift;
        unsigned short mask;
        png_color_8 sig_bit;