From 6aab884b300bc3e2b561cb6172ce2bda501c4055 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 24 May 2015 11:52:22 +0200 Subject: Support reading LZW codes in reverse order from each byte. --- source/fitz/load-tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/load-tiff.c') 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); } -- cgit v1.2.3