summaryrefslogtreecommitdiff
path: root/source/fitz/image.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-01-01 12:59:08 +0000
committerRobin Watts <robin.watts@artifex.com>2014-01-02 20:04:37 +0000
commitcf9a5e5e7af55d15a83f542041fc63c73ba57425 (patch)
tree52ffe3fee581258d59d4f72f6d719387832591cc /source/fitz/image.c
parent8dee8f716887aee52e2fba19a7ae0e2a443cb6df (diff)
downloadmupdf-cf9a5e5e7af55d15a83f542041fc63c73ba57425.tar.xz
Cull code unused as a result of the "tolerate inline images..." fix.
Remove code that's not used any more as a result of the previous fix, plus some code that was unused anyway.
Diffstat (limited to 'source/fitz/image.c')
-rw-r--r--source/fitz/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/image.c b/source/fitz/image.c
index d6aadfbe..10a8bda4 100644
--- a/source/fitz/image.c
+++ b/source/fitz/image.c
@@ -118,7 +118,7 @@ fz_mask_color_key(fz_pixmap *pix, int n, int *colorkey)
}
fz_pixmap *
-fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_image *image, int in_line, int indexed, int l2factor, int native_l2factor)
+fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_image *image, int indexed, int l2factor, int native_l2factor)
{
fz_pixmap *tile = NULL;
int stride, len, i;
@@ -280,7 +280,7 @@ fz_image_get_pixmap(fz_context *ctx, fz_image *image, int w, int h)
stm = fz_open_image_decomp_stream(ctx, image->buffer, &native_l2factor);
indexed = fz_colorspace_is_indexed(image->colorspace);
- tile = fz_decomp_image_from_stream(ctx, stm, image, 0, indexed, l2factor, native_l2factor);
+ tile = fz_decomp_image_from_stream(ctx, stm, image, indexed, l2factor, native_l2factor);
/* CMYK JPEGs in XPS documents have to be inverted */
if (image->invert_cmyk_jpeg &&