From 6f1fa4b83d7b31582be216dbaef1c4ac7a0e6225 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Thu, 2 Sep 2004 13:27:38 +0000 Subject: [PATCH] UNISYS patent clause removed. --- libtiff/tif_compress.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/libtiff/tif_compress.c b/libtiff/tif_compress.c index 5564c53c..17162881 100644 --- a/libtiff/tif_compress.c +++ b/libtiff/tif_compress.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_compress.c,v 1.5 2002-04-08 15:32:05 dron Exp $ */ +/* $Id: tif_compress.c,v 1.6 2004-09-02 13:27:38 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -37,16 +37,9 @@ TIFFNoEncode(TIFF* tif, char* method) const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); if (c) { - if (! strncmp(c->name, "LZW", 3) ){ - TIFFError(tif->tif_name, - "%s %s encoding is no longer implemented due to Unisys patent enforcement", - c->name, method); - } else { - TIFFError(tif->tif_name, "%s %s encoding is not implemented", - c->name, method); - } - } - else { + TIFFError(tif->tif_name, "%s %s encoding is not implemented", + c->name, method); + } else { TIFFError(tif->tif_name, "Compression scheme %u %s encoding is not implemented", tif->tif_dir.td_compression, method); @@ -231,3 +224,5 @@ TIFFUnRegisterCODEC(TIFFCodec* c) TIFFError("TIFFUnRegisterCODEC", "Cannot remove compression scheme %s; not registered", c->name); } + +/* vim: set ts=8 sts=8 sw=8 noet: */