diff --git a/libtiff/tif_dirread.c b/libtiff/tif_dirread.c index 6fe860ac..37001ed5 100644 --- a/libtiff/tif_dirread.c +++ b/libtiff/tif_dirread.c @@ -1,4 +1,4 @@ -/* $Id: tif_dirread.c,v 1.69 2005-12-21 12:23:13 joris Exp $ */ +/* $Id: tif_dirread.c,v 1.70 2005-12-22 07:13:36 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -586,7 +586,7 @@ TIFFReadDirectory(TIFF* tif) _TIFFFieldWithTag(tif,TIFFTAG_STRIPBYTECOUNTS)->field_name); if(EstimateStripByteCounts(tif, dir, dircount) < 0) goto bad; - } else if (td->td_nstrips > 1 + } else if (td->td_nstrips > 2 && td->td_compression == COMPRESSION_NONE && td->td_stripbytecount[0] != td->td_stripbytecount[1]) { /*