diff options
| author | Antonin Descampe <antonin@gmail.com> | 2004-07-14 08:52:15 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2004-07-14 08:52:15 +0000 |
| commit | 55e5910d6bfd3eeedb8e6e281feac36a44d66a6f (patch) | |
| tree | 4dfd4f5d90ff1098aaa60ff85922fc8faa87da9d /codec | |
| parent | de5a22aea053d3934536ee3ff5d2f7b2f706d045 (diff) | |
* 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
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/image_to_j2k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codec/image_to_j2k.c b/codec/image_to_j2k.c index 858db7a9..d0d49f13 100644 --- a/codec/image_to_j2k.c +++ b/codec/image_to_j2k.c @@ -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 */ |
