correct build error (mislocated declaration) with convert to tiff function when HAVE_LIBTIFF is defined
This commit is contained in:
parent
65f7f8dc50
commit
9cd5752e38
5
CHANGES
5
CHANGES
|
@ -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 ______________________________
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue