diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-05-03 00:03:22 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-05-08 21:07:23 +0800 |
commit | 8baa9e7d6ec43792bc1545b840d28254e5f6caac (patch) | |
tree | 6e7839ae4041f0515e9978a34901f21e784bfc4d | |
parent | 9368e0565b98af5295b846be31087ca2111d4fe6 (diff) | |
download | mupdf-8baa9e7d6ec43792bc1545b840d28254e5f6caac.tar.xz |
tiff: Fix bug where both tiff and fax decoders inverted the image.
-rw-r--r-- | source/fitz/load-tiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c index 9afcb012..26fc9b22 100644 --- a/source/fitz/load-tiff.c +++ b/source/fitz/load-tiff.c @@ -340,7 +340,7 @@ tiff_decode_data(fz_context *ctx, struct tiff *tiff, unsigned char *rp, unsigned tiff->imagewidth, tiff->imagelength, 0, - tiff->photometric == 0); + 1); break; case 5: old_tiff = rp[0] == 0 && (rp[1] & 1); |