diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-01-02 13:41:25 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-01-04 13:15:42 +0100 |
commit | 36ae5236e626d7e8a8c7dc689e88b967c4e48aa7 (patch) | |
tree | 837345c05b7ae1620c3cd2d4e2c3b43ddad60340 | |
parent | 2d5b4683e912d6e6e1f1e2ca5aa0297beb3e6807 (diff) | |
download | mupdf-36ae5236e626d7e8a8c7dc689e88b967c4e48aa7.tar.xz |
Bug 698836: Fix build with FZ_ENABLE_JPX=0.
-rw-r--r-- | source/fitz/load-jpx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index 65699bab..178be392 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -935,13 +935,13 @@ fz_load_jpx_info(fz_context *ctx, const unsigned char *data, size_t size, int *w #else /* FZ_ENABLE_JPX */ fz_pixmap * -fz_load_jpx(fz_context *ctx, unsigned char *data, size_t size, fz_colorspace *defcs) +fz_load_jpx(fz_context *ctx, const unsigned char *data, size_t size, fz_colorspace *defcs) { fz_throw(ctx, FZ_ERROR_GENERIC, "JPX support disabled"); } void -fz_load_jpx_info(fz_context *ctx, unsigned char *data, size_t size, int *wp, int *hp, int *xresp, int *yresp, fz_colorspace **cspacep) +fz_load_jpx_info(fz_context *ctx, const unsigned char *data, size_t size, int *wp, int *hp, int *xresp, int *yresp, fz_colorspace **cspacep) { fz_throw(ctx, FZ_ERROR_GENERIC, "JPX support disabled"); } |