diff --git a/ChangeLog b/ChangeLog index 81340ecc..979f1c29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ What's New for OpenJPEG ! : changed + : added +August 18, 2006 +* [Antonin] fixed a bug in j2k_to_image.c, that prevented the -l option to work correctly. + August 4, 2006 * [Antonin] fixed a bug in pi.c, line 473, that appeared when more than 100 precincts were generated in a resolution level. diff --git a/codec/j2k_to_image.c b/codec/j2k_to_image.c index c9747bbc..f86fdfb1 100644 --- a/codec/j2k_to_image.c +++ b/codec/j2k_to_image.c @@ -108,7 +108,7 @@ int parse_cmdline_decoder(int argc, char **argv, opj_dparameters_t *parameters) /* parse the command line */ while (1) { - int c = getopt(argc, argv, "i:o:r:q:f:t:n:c:b:x:p:s:d:hP:S:E:M:R:T:C:I"); + int c = getopt(argc, argv, "i:o:r:l:h"); if (c == -1) break; switch (c) {