fixed windows nighlty crash about one missing opj_getopt() (and warning with other platform)
This commit is contained in:
parent
480ca88b68
commit
bc7c3e44d5
3
CHANGES
3
CHANGES
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
September 2, 2011
|
||||||
|
* [mickael] fixed windows nighlty crash about one missing opj_getopt() (and warning with other platform)
|
||||||
|
|
||||||
September 1st, 2011
|
September 1st, 2011
|
||||||
! [antonin] renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried.
|
! [antonin] renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried.
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ int parse_cmdline_cmp(int argc, char **argv, test_cmp_parameters* param)
|
||||||
param->test_filename = NULL;
|
param->test_filename = NULL;
|
||||||
|
|
||||||
opj_opterr = 0;
|
opj_opterr = 0;
|
||||||
while ((c = getopt(argc, argv, optlist)) != -1)
|
while ((c = opj_getopt(argc, argv, optlist)) != -1)
|
||||||
switch (c)
|
switch (c)
|
||||||
{
|
{
|
||||||
case 'b':
|
case 'b':
|
||||||
|
|
Loading…
Reference in New Issue