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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user