diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-13 08:30:00 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-13 08:30:00 +0000 |
| commit | cc1d601722c459bb810253a4cb4eabe17ac41390 (patch) | |
| tree | cf4b6b829264848bef3450f14b8857d62e89283a | |
| parent | e8c1b849b79013e354255d2bacc13076ffa7f283 (diff) | |
fix some warnings in jp2.c
| -rw-r--r-- | applications/codec/image_to_j2k.c | 1 | ||||
| -rw-r--r-- | libopenjpeg/jp2.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/applications/codec/image_to_j2k.c b/applications/codec/image_to_j2k.c index 71bafdb2..74d4b1a5 100644 --- a/applications/codec/image_to_j2k.c +++ b/applications/codec/image_to_j2k.c @@ -1594,7 +1594,6 @@ int main(int argc, char **argv) { opj_codec_t* l_codec = 00; opj_image_t *image = NULL; raw_cparameters_t raw_cp; - opj_codestream_info_t cstr_info; /* Codestream information structure */ char indexfilename[OPJ_PATH_LEN]; /* index file name */ diff --git a/libopenjpeg/jp2.h b/libopenjpeg/jp2.h index 9b9259c4..8309c288 100644 --- a/libopenjpeg/jp2.h +++ b/libopenjpeg/jp2.h @@ -119,7 +119,7 @@ Palette data: table entries, palette columns */ typedef struct opj_jp2_pclr { - OPJ_INT32 *entries; + OPJ_UINT32 *entries; OPJ_BYTE *channel_sign; OPJ_BYTE *channel_size; opj_jp2_cmap_comp_t *cmap; |
