diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-12-26 17:21:57 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-12-26 17:24:43 +0100 |
commit | bc0b5d4b39e3050c36162d719666053e520161c9 (patch) | |
tree | 084b34294a583a91b9f19029799d7415f4c26bec /source | |
parent | 68cb0cbbdcce7bf2e1fb8ea0d07dfb87355162da (diff) | |
download | mupdf-bc0b5d4b39e3050c36162d719666053e520161c9.tar.xz |
Bug 697362: GIF frames use LZW encoding similar to TIFF.
Commit c0759acc6e5bd8167ab4983fc51eb1212da6a216
introduced a laxer LZW encoding. The bug shows that
this may also apply to GIF images.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/load-gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-gif.c b/source/fitz/load-gif.c index 16c46637..49e7cc06 100644 --- a/source/fitz/load-gif.c +++ b/source/fitz/load-gif.c @@ -263,7 +263,7 @@ gif_read_tbid(fz_context *ctx, struct info *info, unsigned char *dest, unsigned p = gif_read_subblocks(ctx, info, p + 1, end, compressed); stm = fz_open_buffer(ctx, compressed); - lzwstm = fz_open_lzwd(ctx, stm, 0, mincodesize + 1, 1, 0); + lzwstm = fz_open_lzwd(ctx, stm, 0, mincodesize + 1, 1, 1); uncompressed = fz_read_all(ctx, lzwstm, 0); if (uncompressed->len < info->image_width * info->image_height) |