Fixed a copy-and-paste type assignment error (bool instead of int) in the JPWL section of decoder parameters structure in openjpeg.h; minor type-casting in jpwl_lib.c. As a result, now OPJViewer should run correctly when built against the most current SVN trunk of LibOpenJPEG.lib

This commit is contained in:
Giuseppe Baruffa
2007-02-23 01:23:05 +00:00
parent e841b13166
commit 8a75823eea
7 changed files with 28 additions and 18 deletions

View File

@@ -366,9 +366,9 @@ typedef struct opj_dparameters {
/** activates the JPWL correction capabilities */
bool jpwl_correct;
/** expected number of components */
bool jpwl_exp_comps;
int jpwl_exp_comps;
/** maximum number of tiles */
bool jpwl_max_tiles;
int jpwl_max_tiles;
/*@}*/
#endif /* USE_JPWL */
/* <<UniPG */