summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2004-07-16 09:57:26 +0000
committerAntonin Descampe <antonin@gmail.com>2004-07-16 09:57:26 +0000
commitcc034349cde8d058e6c703c04a4b752ef54653b9 (patch)
treee761bc434feccddd7e339c99cbfdd0da379ad1ea
parent9653207b6772233a3dd42c80b93f384cb7d5a4d8 (diff)
Fixed bug (compatibility between index_create and j2k_decode)
-rw-r--r--indexer_JPIP/index_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer_JPIP/index_create.c b/indexer_JPIP/index_create.c
index 0dfee7f8..9aaa8fc4 100644
--- a/indexer_JPIP/index_create.c
+++ b/indexer_JPIP/index_create.c
@@ -1104,7 +1104,7 @@ int j2k_decode(unsigned char *src, int len, j2k_image_t *image, j2k_cp_t *cp) {
}
return cio_numbytes();
}
- j2k_img = img;
+ j2k_img = image;
j2k_cp = cp;
j2k_state = J2K_STATE_MHSOC;
cio_init(src, len);