summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2015-08-24 20:46:52 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-07-06 13:34:37 +0200
commit40dc2fabdd3bd647c21ee4334bb81f96a2103ff5 (patch)
tree3f0812969ba5ba2a02d06becbb294fe65174e488 /source/fitz/load-tiff.c
parent41014a238806e5b18ffa3a62667e9950b7f1b4d0 (diff)
downloadmupdf-40dc2fabdd3bd647c21ee4334bb81f96a2103ff5.tar.xz
Add optional support for JPEG-XR.
Diffstat (limited to 'source/fitz/load-tiff.c')
-rw-r--r--source/fitz/load-tiff.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c
index 821b64e1..8f4c2629 100644
--- a/source/fitz/load-tiff.c
+++ b/source/fitz/load-tiff.c
@@ -791,7 +791,6 @@ fz_decode_tiff_header(fz_context *ctx, struct tiff *tiff, unsigned char *buf, si
*/
/* get byte order marker */
- tiff->order = TII;
tiff->order = readshort(tiff);
if (tiff->order != TII && tiff->order != TMM)
fz_throw(ctx, FZ_ERROR_GENERIC, "not a TIFF file, wrong magic marker");