summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2006-08-18 10:10:47 +0000
committerAntonin Descampe <antonin@gmail.com>2006-08-18 10:10:47 +0000
commit173ccf70d4c03fc5a0c4465dd67aad5877bb0672 (patch)
treea65e11618468b62b2ea6ea4180f7dd20227a1dea
parent7860407cb5ea5f9da0ac9600f775dd06679e2a67 (diff)
fixed a bug in j2k_to_image.c, that prevented the -l option to work correctly.
-rw-r--r--ChangeLog3
-rw-r--r--codec/j2k_to_image.c2
2 files changed, 4 insertions, 1 deletions
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) {