From a600d8f4e2c21ea0532d4af3dc6374b60b93c583 Mon Sep 17 00:00:00 2001 From: Mickael Savinaud Date: Tue, 27 Sep 2011 12:14:11 +0000 Subject: [trunk] WIP: add basis for a new output management of the codestream information and index --- libopenjpeg/jp2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libopenjpeg/jp2.h') diff --git a/libopenjpeg/jp2.h b/libopenjpeg/jp2.h index 0203fd12..9c06b348 100644 --- a/libopenjpeg/jp2.h +++ b/libopenjpeg/jp2.h @@ -145,7 +145,7 @@ JP2 component typedef struct opj_jp2_comps { int depth; int sgnd; - int bpcc; + OPJ_UINT32 bpcc; } opj_jp2_comps_t; /** @@ -221,8 +221,8 @@ opj_jp2_v2_t; JP2 Box */ typedef struct opj_jp2_box { - OPJ_INT32 length; - OPJ_INT32 type; + OPJ_UINT32 length; + OPJ_UINT32 type; OPJ_INT32 init_pos; } opj_jp2_box_t; @@ -334,7 +334,7 @@ opj_bool jp2_end_decompress(opj_jp2_v2_t *jp2, struct opj_stream_private *cio, s */ opj_bool jp2_read_header( struct opj_stream_private *p_stream, opj_jp2_v2_t *jp2, - opj_file_info_t * p_file_info, + opj_image_header_t * p_img_header, struct opj_event_mgr * p_manager ); -- cgit v1.2.3