diff options
| author | Antonin Descampe <antonin@gmail.com> | 2014-04-23 09:12:30 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2014-04-23 09:12:30 +0000 |
| commit | 08c09b74cf08975c018ad9e735afbdb7f63afb58 (patch) | |
| tree | 17fc474a1d60235dc2f31fc8d9c6e57e5722e996 /src/lib | |
| parent | 7aece5e8e7d4214d140a45aca50a824ff8092924 (diff) | |
[trunk]formatted some messages. Removed -version option to disambiguate
with -v(erbose) option, added version info in help display
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/j2k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c index 677a0b61..858bb39f 100644 --- a/src/lib/openjp2/j2k.c +++ b/src/lib/openjp2/j2k.c @@ -6039,7 +6039,7 @@ void opj_j2k_set_cinema_parameters(opj_cparameters_t *parameters, opj_image_t *i } parameters->tcp_rates[0] = (OPJ_FLOAT32) (image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/ - (OPJ_FLOAT32)(parameters->max_cs_size * 8 * image->comps[0].dx * image->comps[0].dy); + (OPJ_FLOAT32)(((OPJ_UINT32)parameters->max_cs_size) * 8 * image->comps[0].dx * image->comps[0].dy); } |
