[trunk] Pointer is opj_jp2_v2_t, not opj_jp2_t

This commit is contained in:
Mathieu Malaterre 2012-05-14 15:19:40 +00:00
parent 00558adda8
commit 3e1aa456b9
1 changed files with 1 additions and 1 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, NULL);
jp2_setup_encoder((opj_jp2_v2_t*)cinfo->jp2_handle, parameters, image, NULL);
break;
case CODEC_JPT:
case CODEC_UNKNOWN: