From 173ccf70d4c03fc5a0c4465dd67aad5877bb0672 Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Fri, 18 Aug 2006 10:10:47 +0000 Subject: [PATCH] fixed a bug in j2k_to_image.c, that prevented the -l option to work correctly. --- ChangeLog | 3 +++ codec/j2k_to_image.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.40.0