summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-stream.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-04-04 12:24:24 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-04-04 12:26:01 +0200
commitb8c30529b5c703e72448e8877af7cef9dcaad837 (patch)
treef2fff43d4bda6a3036a64d2de269fb06414c0443 /source/pdf/pdf-stream.c
parentf4879a5c21622370aa936e19552b295ba7490a81 (diff)
downloadmupdf-b8c30529b5c703e72448e8877af7cef9dcaad837.tar.xz
Fix silly typo in pdf_load_compressed_inline_image.
Diffstat (limited to 'source/pdf/pdf-stream.c')
-rw-r--r--source/pdf/pdf-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c
index 379ed504..bf828bd0 100644
--- a/source/pdf/pdf-stream.c
+++ b/source/pdf/pdf-stream.c
@@ -379,7 +379,7 @@ pdf_load_compressed_inline_image(fz_context *ctx, pdf_document *doc, pdf_obj *di
istm = pdf_open_inline_stream(ctx, doc, dict, length, file_stm, &bc->params);
leech = fz_open_leecher(ctx, istm, bc->buffer);
decomp = fz_open_image_decomp_stream(ctx, leech, &bc->params, &dummy_l2factor);
- pixmap = fz_decomp_image_from_stream(ctx, leech, image, NULL, indexed, 0);
+ pixmap = fz_decomp_image_from_stream(ctx, decomp, image, NULL, indexed, 0);
fz_set_compressed_image_tile(ctx, image, pixmap);
fz_set_compressed_image_buffer(ctx, image, bc);
}