! : changed
+ : added
+July 8, 2007
+* [ANTONIN] fixed the size of the memory allocation in cio.c (confusion between bits and bytes)
+
June 21, 2007
* [FOD] Output image color space set when decoding a JP2 file in jp2.c
+ [GB] Previous, home, and next frame buttons for exploring MJ2 files in OPJViewer
opj_free(cio);
return NULL;
}
- cio->length = (int) (1.3 * cp->img_size);
+ cio->length = (int) (0.1625 * cp->img_size); /* 0.1625 = 1.3/8 */
cio->buffer = (unsigned char *)opj_malloc(cio->length);
if(!cio->buffer) {
opj_free(cio);