Fixed bug (compatibility between index_create and j2k_decode)
This commit is contained in:
parent
9653207b67
commit
cc034349cd
|
@ -1104,7 +1104,7 @@ int j2k_decode(unsigned char *src, int len, j2k_image_t *image, j2k_cp_t *cp) {
|
||||||
}
|
}
|
||||||
return cio_numbytes();
|
return cio_numbytes();
|
||||||
}
|
}
|
||||||
j2k_img = img;
|
j2k_img = image;
|
||||||
j2k_cp = cp;
|
j2k_cp = cp;
|
||||||
j2k_state = J2K_STATE_MHSOC;
|
j2k_state = J2K_STATE_MHSOC;
|
||||||
cio_init(src, len);
|
cio_init(src, len);
|
||||||
|
|
Loading…
Reference in New Issue