summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/openjp2/t2.h')
-rw-r--r--src/lib/openjp2/t2.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/lib/openjp2/t2.h b/src/lib/openjp2/t2.h
index becfa91a..9a342705 100644
--- a/src/lib/openjp2/t2.h
+++ b/src/lib/openjp2/t2.h
@@ -109,15 +109,16 @@ Decode the packets of a tile from a source buffer
@return FIXME DOC
*/
-OPJ_BOOL opj_t2_decode_packets(opj_tcd_t* tcd,
- opj_t2_t *t2,
- OPJ_UINT32 tileno,
- opj_tcd_tile_t *tile,
- OPJ_BYTE *src,
- OPJ_UINT32 * p_data_read,
- OPJ_UINT32 len,
- opj_codestream_index_t *cstr_info,
- opj_event_mgr_t *p_manager);
+OPJ_RESULT opj_t2_decode_packets(opj_tcd_t* tcd,
+ opj_t2_t *t2,
+ OPJ_UINT32 tileno,
+ opj_tcd_tile_t *tile,
+ OPJ_BYTE *src,
+ OPJ_UINT32 * p_data_read,
+ OPJ_UINT32 len,
+ opj_codestream_index_t *cstr_info,
+ opj_event_mgr_t *p_manager,
+ opj_cancel_t *p_cancel);
/**
* Creates a Tier 2 handle