correct build error (mislocated declaration) with convert to tiff function when HAVE_LIBTIFF is defined

This commit is contained in:
Mickael Savinaud 2011-07-18 08:58:18 +00:00
parent 65f7f8dc50
commit 9cd5752e38
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,10 @@ What's New for OpenJPEG
! : changed ! : changed
+ : added + : added
July 10, 2011 July 18, 2011
! [mickael] correct build error (mislocated declaration) with convert to tiff function when HAVE_LIBTIFF is defined
July 13, 2011
! [mickael] improved some CMakeLists files linked to the build of applications which used thirdparty ! [mickael] improved some CMakeLists files linked to the build of applications which used thirdparty
_______ R812 : 'openjpeg-1.5' branch created ______________________________ _______ R812 : 'openjpeg-1.5' branch created ______________________________

View File

@ -1925,9 +1925,9 @@ int imagetotif(opj_image_t * image, const char *outfile)
{ {
unsigned char *dat8; unsigned char *dat8;
tsize_t i, ssize; tsize_t i, ssize;
int step, restx;
ssize = TIFFStripSize(tif); ssize = TIFFStripSize(tif);
dat8 = (unsigned char*)buf; dat8 = (unsigned char*)buf;
int step, restx;
if(bps == 8) if(bps == 8)
{ {