summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-stream.c
diff options
context:
space:
mode:
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);
}