[gs-commits] mupdf 1.16.0.11 Fix luratech build.

[email protected] (Tor Andersson)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
commit 763b7e07ffb5b5ee7dbc2ab825f43f534e4f8d20
Author: Tor Andersson <[email protected]>
Date:   Fri Aug 2 16:48:27 2019 +0200

    Fix luratech build.

diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
index 0a1a9d1..bd62a42 100644
--- a/source/fitz/load-jpx.c
+++ b/source/fitz/load-jpx.c
@@ -330,7 +330,7 @@ jpx_read_image(fz_context *ctx, fz_jpxd *state, const unsigned char *data, size_
 			fz_catch(ctx)
 				fz_warn(ctx, "ignoring embedded ICC profile in JPX");
 
-			if (state->cs && state->cs->n != n)
+			if (state->cs && state->cs->n != nchans)
 			{
 				fz_warn(ctx, "invalid number of components in ICC profile, ignoring ICC profile in JPX");
 				fz_drop_colorspace(ctx, state->cs);

http://git.ghostscript.com/?p=mupdf.git;a=commit;h=763b7e07ffb5b5ee7dbc2ab825f43f534e4f8d20

--
MuPDF library
Artifex Software, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.