summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libtiff/libtiff/tif_open.c
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2023-06-30 15:11:06 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-07-04 11:16:58 +0000
commitdc35e55de272928e1086d51b6a95801207c10273 (patch)
tree7579336a73a2614efef36441e4741e4365d29aae /src/3rdparty/libtiff/libtiff/tif_open.c
parent3ae3cd2a42e35cdb6d975758f7ef564af81c44fb (diff)
Update bundled libtiff to version 4.5.1
[ChangeLog][Third-Party Code] Bundled libtiff was updated to version 4.5.1 Change-Id: I32bb074b6ba599e857b10e1fa637da36b025d12b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 5428d253ed53aafe7b523c1fb3937376538a4949) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/3rdparty/libtiff/libtiff/tif_open.c')
-rw-r--r--src/3rdparty/libtiff/libtiff/tif_open.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/3rdparty/libtiff/libtiff/tif_open.c b/src/3rdparty/libtiff/libtiff/tif_open.c
index 8a86a26..23fcf81 100644
--- a/src/3rdparty/libtiff/libtiff/tif_open.c
+++ b/src/3rdparty/libtiff/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)
@@ -485,7 +489,7 @@ TIFF *TIFFClientOpenExt(const char *name, const char *mode,
goto bad;
tif->tif_diroff = 0;
tif->tif_lastdiroff = 0;
- tif->tif_dirnumber = 0;
+ tif->tif_setdirectory_force_absolute = FALSE;
return (tif);
}
/*