From afe7581fbc12f9fbdf19dcc4a7945908f0e4eb57 Mon Sep 17 00:00:00 2001 From: cristy Date: Wed, 24 Dec 2014 22:14:24 +0000 Subject: [PATCH] --- coders/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/tiff.c b/coders/tiff.c index 72398b1aa..028e12deb 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1433,7 +1433,7 @@ RestoreMSCWarning if (image->compression == JPEGCompression) method=GetJpegMethod(image,tiff,photometric,bits_per_sample, samples_per_pixel); - if (image->compression == JBIGCompression) + if (compress_tag == COMPRESSION_JBIG) method=ReadStripMethod; if ((photometric != PHOTOMETRIC_SEPARATED) && -- 2.40.0