fixed a bug in codec/convert.c that prevented to build executables with WIN32 compiler (thanks winfried)

This commit is contained in:
Antonin Descampe 2010-11-28 18:40:57 +00:00
parent efc709578a
commit 1c2ed5cc33
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ What's New for OpenJPEG
+ : added + : added
November 28, 2010 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). ! [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 November 25, 2010

View File

@ -2373,7 +2373,7 @@ int imagetopng(opj_image_t * image, const char *write_idf)
unsigned char *row_buf, *d; unsigned char *row_buf, *d;
int has_alpha, width, height, nr_comp, color_type; int has_alpha, width, height, nr_comp, color_type;
int adjustR, adjustG, adjustB, x, y, fails, is16, force16; int adjustR, adjustG, adjustB, x, y, fails, is16, force16;
int opj_prec, prec, ushift, dshift;; int opj_prec, prec, ushift, dshift;
unsigned short mask; unsigned short mask;
png_color_8 sig_bit; png_color_8 sig_bit;