* PPM markers handling modified (comment keyword : ppmbug1)

* empty resolution level or subband handling (comment keyword : sizebug1)
* index_on field forwarded to j2k_cp_t structure
This commit is contained in:
Antonin Descampe
2004-07-14 08:52:15 +00:00
parent de5a22aea0
commit 55e5910d6b
7 changed files with 109 additions and 75 deletions

View File

@@ -288,7 +288,7 @@ int main(int argc, char **argv)
cblockh_init = 64;
cp.tw = 1;
cp.th = 1;
img.index_on = 0;
cp.index_on = 0;
Prog_order = 0;
numpocs = 0;
mode = 0;
@@ -491,7 +491,7 @@ int main(int argc, char **argv)
/* ----------------------------------------------------- */
case 'x': /* creation of index file */
index = optarg;
img.index_on = 1;
cp.index_on = 1;
break;
/* ----------------------------------------------------- */
case 'p': /* progression order */