From c250ab893c0b0086011d44848b66e53adcff8cad Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 21 Jun 2012 09:47:30 +0000 Subject: update libopenjpeg from 1.3 to 1.5, since 1.3 has a bug saving alpha channels. the patches/ dir is NOT applied but perhaps we can get OSX and BSD working using the opj_config.h --- extern/libopenjpeg/mqc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extern/libopenjpeg/mqc.h') diff --git a/extern/libopenjpeg/mqc.h b/extern/libopenjpeg/mqc.h index 8cc8c934598..d00cd1067d8 100644 --- a/extern/libopenjpeg/mqc.h +++ b/extern/libopenjpeg/mqc.h @@ -70,6 +70,9 @@ typedef struct opj_mqc { unsigned char *end; opj_mqc_state_t *ctxs[MQC_NUMCTXS]; opj_mqc_state_t **curctx; +#ifdef MQC_PERF_OPT + unsigned char *buffer; +#endif } opj_mqc_t; /** @name Exported functions */ @@ -188,7 +191,7 @@ Decode a symbol @param mqc MQC handle @return Returns the decoded symbol (0 or 1) */ -int mqc_decode(opj_mqc_t *mqc); +int mqc_decode(opj_mqc_t *const mqc); /* ----------------------------------------------------------------------- */ /*@}*/ -- cgit v1.2.3