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

@@ -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) {