summaryrefslogtreecommitdiff
path: root/libtiff/tif_dirinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtiff/tif_dirinfo.c')
-rw-r--r--libtiff/tif_dirinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c
index d26fd120..fd12b737 100644
--- a/libtiff/tif_dirinfo.c
+++ b/libtiff/tif_dirinfo.c
@@ -1052,6 +1052,10 @@ _TIFFCheckFieldIsValidForCodec(TIFF *tif, ttag_t tag)
if (tag == TIFFTAG_PREDICTOR)
return 1;
break;
+ case COMPRESSION_ZSTD:
+ if (tag == TIFFTAG_PREDICTOR)
+ return 1;
+ break;
}
return 0;