summaryrefslogtreecommitdiff
path: root/source/fitz/load-tiff.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2015-05-24 11:52:22 +0200
committerSebastian Rasmussen <sebras@gmail.com>2015-07-29 12:41:21 +0200
commit6aab884b300bc3e2b561cb6172ce2bda501c4055 (patch)
tree33b5c3bbc6a788fbf354026a4faaa294aee474b8 /source/fitz/load-tiff.c
parentc680270bdeae2f9eea93b604b63330b48cf4442e (diff)
downloadmupdf-6aab884b300bc3e2b561cb6172ce2bda501c4055.tar.xz
Support reading LZW codes in reverse order from each byte.
Diffstat (limited to 'source/fitz/load-tiff.c')
-rw-r--r--source/fitz/load-tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-tiff.c b/source/fitz/load-tiff.c
index c2799f7c..16d9908e 100644
--- a/source/fitz/load-tiff.c
+++ b/source/fitz/load-tiff.c
@@ -157,7 +157,7 @@ fz_decode_tiff_packbits(fz_context *ctx, struct tiff *tiff, fz_stream *chain, un
static void
fz_decode_tiff_lzw(fz_context *ctx, struct tiff *tiff, fz_stream *chain, unsigned char *wp, int wlen)
{
- fz_stream *stm = fz_open_lzwd(ctx, chain, 1, 9);
+ fz_stream *stm = fz_open_lzwd(ctx, chain, 1, 9, 0);
fz_read(ctx, stm, wp, wlen);
fz_drop_stream(ctx, stm);
}