add new functions in jp2 codec from v2 branches; solve bug in j2k_setup_encoder_v2

This commit is contained in:
Mickael Savinaud
2012-05-14 09:37:36 +00:00
parent 595c00f55c
commit 1023be33fb
5 changed files with 502 additions and 34 deletions

View File

@@ -826,7 +826,7 @@ void OPJ_CALLCONV opj_setup_encoder(opj_cinfo_t *cinfo, opj_cparameters_t *param
j2k_setup_encoder((opj_j2k_t*)cinfo->j2k_handle, parameters, image);
break;
case CODEC_JP2:
jp2_setup_encoder((opj_jp2_t*)cinfo->jp2_handle, parameters, image);
jp2_setup_encoder((opj_jp2_t*)cinfo->jp2_handle, parameters, image, NULL);
break;
case CODEC_JPT:
case CODEC_UNKNOWN: