solve problem with input of image_to_j2k; using the right return type comparison for opj_stream_flush; add j2k_write_com_v2, j2k_write_poc_v2, j2k_write_eoc_v2 and j2k_write_tlm_v2

This commit is contained in:
Mickael Savinaud
2012-05-13 22:13:58 +00:00
parent 821d7a8941
commit 80c23d4519
4 changed files with 322 additions and 31 deletions

View File

@@ -1776,7 +1776,7 @@ int main(int argc, char **argv) {
/* encode the destination image */
/* ---------------------------- */
switch(parameters.decod_format) {
switch(parameters.cod_format) {
case J2K_CFMT: /* JPEG-2000 codestream */
{
/* Get a decoder handle */