diff options
author | Even Rouault <even.rouault@spatialys.com> | 2023-05-16 17:40:05 +0000 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2023-05-16 17:40:05 +0000 |
commit | a0a18437d669bc30f91bfada555417903fee65b5 (patch) | |
tree | b084380d5f27e36024ca3efc1ff66682da1a5c08 /libtiff/tif_open.c | |
parent | cea60470546fcb8bc1bb937512485aae15367b5d (diff) | |
parent | 0dabdfe85732147d1c8d6016e8c3e40522104568 (diff) | |
download | libtiff-git-a0a18437d669bc30f91bfada555417903fee65b5.tar.gz |
Hardcode HOST_FILLORDER to FILLORDER_LSB2MSB, and make 'H' flag of TIFFOpen()...
See merge request libtiff/libtiff!488
Diffstat (limited to 'libtiff/tif_open.c')
-rw-r--r-- | libtiff/tif_open.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libtiff/tif_open.c b/libtiff/tif_open.c index aa16a64f..23fcf81c 100644 --- a/libtiff/tif_open.c +++ b/libtiff/tif_open.c @@ -365,8 +365,12 @@ TIFF *TIFFClientOpenExt(const char *name, const char *mode, (tif->tif_flags & ~TIFF_FILLORDER) | FILLORDER_LSB2MSB; break; case 'H': + TIFFWarningExtR(tif, name, + "H(ost) mode is deprecated. Since " + "libtiff 4.5.1, it is an alias of 'B' / " + "FILLORDER_MSB2LSB."); tif->tif_flags = - (tif->tif_flags & ~TIFF_FILLORDER) | HOST_FILLORDER; + (tif->tif_flags & ~TIFF_FILLORDER) | FILLORDER_MSB2LSB; break; case 'M': if (m == O_RDONLY) |