diff options
| author | Antonin Descampe <antonin@gmail.com> | 2005-07-18 15:21:56 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2005-07-18 15:21:56 +0000 |
| commit | de75303c38253bf5f5aeb31d20769c96167fc3a7 (patch) | |
| tree | 4526e4de35803f9dbe2a64fe10374921e141ea42 /codec/image_to_j2k.c | |
| parent | 32ba9920dba8f60e4da28dafd2903feb826c2d64 (diff) | |
Several bugs fixed when dealing with pgx-files with more than 8 bpp and the fixed_quality feature.
Diffstat (limited to 'codec/image_to_j2k.c')
| -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 132f8f88..e64616ab 100644 --- a/codec/image_to_j2k.c +++ b/codec/image_to_j2k.c @@ -659,13 +659,13 @@ int main(int argc, char **argv) if ((cp.disto_alloc || cp.fixed_alloc || cp.fixed_quality) && (!(cp.disto_alloc ^ cp.fixed_alloc ^ cp.fixed_quality))) { fprintf(stderr, - "Error: options -r -q and -f can not be used together !!\n"); + "Error: options -r -q and -f cannot be used together !!\n"); return 1; } // mod fixed_quality /* if no rate entered, lossless by default */ if (tcp_init->numlayers == 0) { - tcp_init->rates[tcp_init->numlayers] = 0; //MOD antonin : losslessbug + tcp_init->rates[0] = 0; //MOD antonin : losslessbug tcp_init->numlayers++; cp.disto_alloc = 1; } |
