summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/fitz/load-jpx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c
index eafdd33a..b2cf46e7 100644
--- a/source/fitz/load-jpx.c
+++ b/source/fitz/load-jpx.c
@@ -665,13 +665,14 @@ jpx_read_image(fz_context *ctx, fz_jpxd *state, unsigned char *data, size_t size
opj_stream_t *stream;
unsigned char *p;
OPJ_CODEC_FORMAT format;
- int i, a, n, w, h, depth, sgnd;
+ int a, n, w, h, depth, sgnd;
int x, y, k, v, stride;
stream_block sb;
unsigned int max_w, max_h;
int sub_w[FZ_MAX_COLORS];
int sub_h[FZ_MAX_COLORS];
int upsample_required = 0;
+ OPJ_UINT32 i;
fz_var(img);