diff options
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) |