avoid direct use of tif_clientdata
This commit is contained in:
parent
bc4b088d40
commit
59e0f5cb33
@ -727,7 +727,7 @@ void TIFFBuildOverviews( TIFF *hTIFF, int nOverviews, int * panOvList,
|
|||||||
nSampleFormat != SAMPLEFORMAT_UINT)
|
nSampleFormat != SAMPLEFORMAT_UINT)
|
||||||
{
|
{
|
||||||
/* TODO: use of TIFFError is inconsistent with use of fprintf in addtiffo.c, sort out */
|
/* TODO: use of TIFFError is inconsistent with use of fprintf in addtiffo.c, sort out */
|
||||||
TIFFErrorExt( hTIFF->tif_clientdata, "TIFFBuildOverviews",
|
TIFFErrorExt( TIFFClientdata(hTIFF), "TIFFBuildOverviews",
|
||||||
"File `%s' has an unsupported subsampling configuration.\n",
|
"File `%s' has an unsupported subsampling configuration.\n",
|
||||||
TIFFFileName(hTIFF) );
|
TIFFFileName(hTIFF) );
|
||||||
/* If you need support for this particular flavor, please contact either
|
/* If you need support for this particular flavor, please contact either
|
||||||
@ -745,7 +745,7 @@ void TIFFBuildOverviews( TIFF *hTIFF, int nOverviews, int * panOvList,
|
|||||||
if( nBitsPerPixel < 8 )
|
if( nBitsPerPixel < 8 )
|
||||||
{
|
{
|
||||||
/* TODO: use of TIFFError is inconsistent with use of fprintf in addtiffo.c, sort out */
|
/* TODO: use of TIFFError is inconsistent with use of fprintf in addtiffo.c, sort out */
|
||||||
TIFFErrorExt( hTIFF->tif_clientdata, "TIFFBuildOverviews",
|
TIFFErrorExt( TIFFClientdata(hTIFF), "TIFFBuildOverviews",
|
||||||
"File `%s' has samples of %d bits per sample. Sample\n"
|
"File `%s' has samples of %d bits per sample. Sample\n"
|
||||||
"sizes of less than 8 bits per sample are not supported.\n",
|
"sizes of less than 8 bits per sample are not supported.\n",
|
||||||
TIFFFileName(hTIFF), nBitsPerPixel );
|
TIFFFileName(hTIFF), nBitsPerPixel );
|
||||||
|
Loading…
Reference in New Issue
Block a user