diff options
| author | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-02-23 01:23:05 +0000 |
|---|---|---|
| committer | Giuseppe Baruffa <gbaruffa@users.noreply.github.com> | 2007-02-23 01:23:05 +0000 |
| commit | 8a75823eeaa6f36c428a848d757e7d94ce4386f1 (patch) | |
| tree | 35cbd0c3181e404833790c0c1e04c0879d868bad /libopenjpeg/openjpeg.h | |
| parent | e841b13166218ba152595a7c0adf5b70c4e5558d (diff) | |
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
Diffstat (limited to 'libopenjpeg/openjpeg.h')
| -rw-r--r-- | libopenjpeg/openjpeg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index 8e9da446..71baf02f 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/openjpeg.h @@ -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 */ |
