fixed a bug in j2k_to_image.c, that prevented the -l option to work correctly.

This commit is contained in:
Antonin Descampe 2006-08-18 10:10:47 +00:00
parent 7860407cb5
commit 173ccf70d4
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed ! : changed
+ : added + : added
August 18, 2006
* [Antonin] fixed a bug in j2k_to_image.c, that prevented the -l option to work correctly.
August 4, 2006 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. * [Antonin] fixed a bug in pi.c, line 473, that appeared when more than 100 precincts were generated in a resolution level.

View File

@ -108,7 +108,7 @@ int parse_cmdline_decoder(int argc, char **argv, opj_dparameters_t *parameters)
/* parse the command line */ /* parse the command line */
while (1) { 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) if (c == -1)
break; break;
switch (c) { switch (c) {