diff options
author | Joris Van Damme <joris.at.lebbeke@skynet.be> | 2005-12-21 12:23:13 +0000 |
---|---|---|
committer | Joris Van Damme <joris.at.lebbeke@skynet.be> | 2005-12-21 12:23:13 +0000 |
commit | 5cbfc68f0625d6c29d724b6e57fa7e98017ad325 (patch) | |
tree | 78796f9d7b231ba6b69e2675e2b342f81e21dc50 /libtiff/tif_compress.c | |
parent | 839c207d313ccf068c98aa4d466e81fdf1aef27b (diff) | |
download | libtiff-git-5cbfc68f0625d6c29d724b6e57fa7e98017ad325.tar.gz |
*** empty log message ***
Diffstat (limited to 'libtiff/tif_compress.c')
-rw-r--r-- | libtiff/tif_compress.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libtiff/tif_compress.c b/libtiff/tif_compress.c index de1ebb5b..73b824ac 100644 --- a/libtiff/tif_compress.c +++ b/libtiff/tif_compress.c @@ -1,4 +1,4 @@ -/* $Id: tif_compress.c,v 1.10 2005-06-28 15:15:58 dron Exp $ */ +/* $Id: tif_compress.c,v 1.11 2005-12-21 12:23:13 joris Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -37,10 +37,10 @@ TIFFNoEncode(TIFF* tif, const char* method) const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); if (c) { - TIFFError(tif->tif_name, "%s %s encoding is not implemented", + TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "%s %s encoding is not implemented", c->name, method); } else { - TIFFError(tif->tif_name, + TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "Compression scheme %u %s encoding is not implemented", tif->tif_dir.td_compression, method); } @@ -74,10 +74,10 @@ TIFFNoDecode(TIFF* tif, const char* method) const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); if (c) - TIFFError(tif->tif_name, "%s %s decoding is not implemented", + TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "%s %s decoding is not implemented", c->name, method); else - TIFFError(tif->tif_name, + TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "Compression scheme %u %s decoding is not implemented", tif->tif_dir.td_compression, method); return (-1); @@ -108,7 +108,7 @@ int _TIFFNoSeek(TIFF* tif, uint32 off) { (void) off; - TIFFError(tif->tif_name, + TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "Compression algorithm does not support random access"); return (0); } @@ -204,7 +204,7 @@ TIFFRegisterCODEC(uint16 scheme, const char* name, TIFFInitMethod init) cd->next = registeredCODECS; registeredCODECS = cd; } else { - TIFFError("TIFFRegisterCODEC", + TIFFErrorExt(0, "TIFFRegisterCODEC", "No space to register compression scheme %s", name); return NULL; } @@ -223,7 +223,7 @@ TIFFUnRegisterCODEC(TIFFCodec* c) _TIFFfree(cd); return; } - TIFFError("TIFFUnRegisterCODEC", + TIFFErrorExt(0, "TIFFUnRegisterCODEC", "Cannot remove compression scheme %s; not registered", c->name); } |