Fixed bug in j2k_decode_jpt_stream
! : changed
+ : added
+August 28, 2007
+* [FOD] Fixed wrong destructors called in openjpeg.c
+* [FOD] Fixed bug in j2k_decode_jpt_stream
+
August 24, 2007
* [Parvatha] The end of main header is calculated after TLM and POC marker for Dcinema.
/* create an empty image */
image = opj_image_create0();
+ j2k->image = image;
j2k->state = J2K_STATE_MHSOC;
/* destroy the codec */
switch(cinfo->codec_format) {
case CODEC_J2K:
- j2k_destroy_decompress((opj_j2k_t*)cinfo->j2k_handle);
+ j2k_destroy_compress((opj_j2k_t*)cinfo->j2k_handle);
break;
case CODEC_JP2:
- jp2_destroy_decompress((opj_jp2_t*)cinfo->jp2_handle);
+ jp2_destroy_compress((opj_jp2_t*)cinfo->jp2_handle);
break;
case CODEC_JPT:
case CODEC_UNKNOWN: