diff options
Diffstat (limited to 'source/fitz/load-jpx.c')
-rw-r--r-- | source/fitz/load-jpx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index 2f9be9a3..bad519a1 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -818,7 +818,7 @@ jpx_read_image(fz_context *ctx, fz_jpxd *state, unsigned char *data, size_t size fz_try(ctx) { a = !!a; /* ignore any superfluous alpha channels */ - img = fz_new_pixmap(ctx, state->cs, w, h, a); + img = fz_new_pixmap(ctx, state->cs, w, h, NULL, a); p = img->samples; if (upsample_required) |