[trunk] rename opj_create_decompress_v2 to opj_create_decompress
This commit is contained in:
@@ -759,19 +759,19 @@ int main(int argc, char **argv)
|
||||
case J2K_CFMT: /* JPEG-2000 codestream */
|
||||
{
|
||||
/* Get a decoder handle */
|
||||
l_codec = opj_create_decompress_v2(CODEC_J2K);
|
||||
l_codec = opj_create_decompress(CODEC_J2K);
|
||||
break;
|
||||
}
|
||||
case JP2_CFMT: /* JPEG 2000 compressed image data */
|
||||
{
|
||||
/* Get a decoder handle */
|
||||
l_codec = opj_create_decompress_v2(CODEC_JP2);
|
||||
l_codec = opj_create_decompress(CODEC_JP2);
|
||||
break;
|
||||
}
|
||||
case JPT_CFMT: /* JPEG 2000, JPIP */
|
||||
{
|
||||
/* Get a decoder handle */
|
||||
l_codec = opj_create_decompress_v2(CODEC_JPT);
|
||||
l_codec = opj_create_decompress(CODEC_JPT);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user