From 32188a5e915d031de8b36b5b48a1f748d3134fd8 Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Wed, 22 Dec 2021 17:54:19 +0100 Subject: tifficc should not rely on latest libtiff make linux distros happy --- utils/tificc/tificc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/tificc/tificc.c b/utils/tificc/tificc.c index c2677c9..fab1c22 100644 --- a/utils/tificc/tificc.c +++ b/utils/tificc/tificc.c @@ -668,11 +668,11 @@ void CopyOtherTags(TIFF* in, TIFF* out) // This is tricky, libtiff would access predictor in a wrong way // if the codec is none of those if (compression == COMPRESSION_LZW || - compression == COMPRESSION_LZMA || + compression == 34925 /*COMPRESSION_LZMA*/ || compression == COMPRESSION_PIXARLOG || compression == COMPRESSION_DEFLATE || compression == COMPRESSION_ADOBE_DEFLATE || - compression == COMPRESSION_ZSTD) + compression == 50000 /*COMPRESSION_ZSTD*/) { if (PixelDepth != 32) CopyField(TIFFTAG_PREDICTOR, shortv); -- cgit v1.2.3