summaryrefslogtreecommitdiff
path: root/libtiff/tif_predict.c
diff options
context:
space:
mode:
authorJoris Van Damme <joris.at.lebbeke@skynet.be>2005-12-21 12:23:13 +0000
committerJoris Van Damme <joris.at.lebbeke@skynet.be>2005-12-21 12:23:13 +0000
commit5cbfc68f0625d6c29d724b6e57fa7e98017ad325 (patch)
tree78796f9d7b231ba6b69e2675e2b342f81e21dc50 /libtiff/tif_predict.c
parent839c207d313ccf068c98aa4d466e81fdf1aef27b (diff)
downloadlibtiff-git-5cbfc68f0625d6c29d724b6e57fa7e98017ad325.tar.gz
*** empty log message ***
Diffstat (limited to 'libtiff/tif_predict.c')
-rw-r--r--libtiff/tif_predict.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtiff/tif_predict.c b/libtiff/tif_predict.c
index e0ebda07..b4b5c363 100644
--- a/libtiff/tif_predict.c
+++ b/libtiff/tif_predict.c
@@ -1,4 +1,4 @@
-/* $Id: tif_predict.c,v 1.9 2005-06-03 07:58:54 dron Exp $ */
+/* $Id: tif_predict.c,v 1.10 2005-12-21 12:23:13 joris Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -61,7 +61,7 @@ PredictorSetup(TIFF* tif)
case PREDICTOR_HORIZONTAL:
if (td->td_bitspersample != 8
&& td->td_bitspersample != 16) {
- TIFFError(module,
+ TIFFErrorExt(tif->tif_clientdata, module,
"Horizontal differencing \"Predictor\" not supported with %d-bit samples",
td->td_bitspersample);
return 0;
@@ -69,14 +69,14 @@ PredictorSetup(TIFF* tif)
break;
case PREDICTOR_FLOATINGPOINT:
if (td->td_sampleformat != SAMPLEFORMAT_IEEEFP) {
- TIFFError(module,
+ TIFFErrorExt(tif->tif_clientdata, module,
"Floating point \"Predictor\" not supported with %d data format",
td->td_sampleformat);
return 0;
}
break;
default:
- TIFFError(module,
+ TIFFErrorExt(tif->tif_clientdata, module,
"\"Predictor\" value %d not supported",
sp->predictor);
return 0;