fix some warnings in jp2.c

This commit is contained in:
Mickael Savinaud 2012-08-13 08:30:00 +00:00
parent e8c1b849b7
commit cc1d601722
2 changed files with 1 additions and 2 deletions

View File

@ -1594,7 +1594,6 @@ int main(int argc, char **argv) {
opj_codec_t* l_codec = 00; opj_codec_t* l_codec = 00;
opj_image_t *image = NULL; opj_image_t *image = NULL;
raw_cparameters_t raw_cp; raw_cparameters_t raw_cp;
opj_codestream_info_t cstr_info; /* Codestream information structure */
char indexfilename[OPJ_PATH_LEN]; /* index file name */ char indexfilename[OPJ_PATH_LEN]; /* index file name */

View File

@ -119,7 +119,7 @@ Palette data: table entries, palette columns
*/ */
typedef struct opj_jp2_pclr typedef struct opj_jp2_pclr
{ {
OPJ_INT32 *entries; OPJ_UINT32 *entries;
OPJ_BYTE *channel_sign; OPJ_BYTE *channel_sign;
OPJ_BYTE *channel_size; OPJ_BYTE *channel_size;
opj_jp2_cmap_comp_t *cmap; opj_jp2_cmap_comp_t *cmap;