summaryrefslogtreecommitdiff
path: root/libtiff/tif_compress.c
diff options
context:
space:
mode:
authorJoris Van Damme <joris.at.lebbeke@skynet.be>2007-05-30 13:53:17 +0000
committerJoris Van Damme <joris.at.lebbeke@skynet.be>2007-05-30 13:53:17 +0000
commitc81185549e11a5bf6e76aa617d2d44134ab5eadd (patch)
treeb37e6e61b1962596c60b8bec58900f395e6af4cd /libtiff/tif_compress.c
parentc5e8d4f5ac1971a1f5bfb0f761f26b5b9ea0c3fb (diff)
downloadlibtiff-git-c81185549e11a5bf6e76aa617d2d44134ab5eadd.tar.gz
BigTIFF upgrade in progress - widespread temp mess - does not compile now
Diffstat (limited to 'libtiff/tif_compress.c')
-rw-r--r--libtiff/tif_compress.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/libtiff/tif_compress.c b/libtiff/tif_compress.c
index aeef1697..a7f5b0ce 100644
--- a/libtiff/tif_compress.c
+++ b/libtiff/tif_compress.c
@@ -1,4 +1,4 @@
-/* $Id: tif_compress.c,v 1.16 2007-04-04 04:16:07 joris Exp $ */
+/* $Id: tif_compress.c,v 1.17 2007-05-30 13:53:17 joris Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -36,11 +36,11 @@ TIFFNoEncode(TIFF* tif, const char* method)
{
const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression);
- if (c) {
+ if (c) {
TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
"%s %s encoding is not implemented",
c->name, method);
- } else {
+ } else {
TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
"Compression scheme %u %s encoding is not implemented",
tif->tif_dir.td_compression, method);
@@ -86,6 +86,12 @@ TIFFNoDecode(TIFF* tif, const char* method)
}
int
+_TIFFNoFixupTags(TIFF* tif)
+{
+ return (1);
+}
+
+int
_TIFFNoRowDecode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s)
{
(void) pp; (void) cc; (void) s;
@@ -128,6 +134,7 @@ static void _TIFFvoid(TIFF* tif) { (void) tif; }
void
_TIFFSetDefaultCompressionState(TIFF* tif)
{
+ tif->tif_fixuptags = _TIFFNoFixupTags;
tif->tif_decodestatus = TRUE;
tif->tif_setupdecode = _TIFFtrue;
tif->tif_predecode = _TIFFNoPreCode;