summaryrefslogtreecommitdiff
path: root/libopenjpeg/mqc.h
diff options
context:
space:
mode:
authorLuc Hermitte <luc.hermitte@c-s.fr>2012-08-22 18:45:31 +0000
committerLuc Hermitte <luc.hermitte@c-s.fr>2012-08-22 18:45:31 +0000
commit4e81ea2a8aca513fda983d5e943a111e27938f9c (patch)
tree75804d5270cdf9f4a82ece9aa160ec6410ef728d /libopenjpeg/mqc.h
parent7bfdb31c771b2ec0a8bedb064f54803f96e031d6 (diff)
[trunk] realloc is misused and may leak memory (Issue#168)
Diffstat (limited to 'libopenjpeg/mqc.h')
-rw-r--r--libopenjpeg/mqc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/mqc.h b/libopenjpeg/mqc.h
index d00cd106..7984aaf8 100644
--- a/libopenjpeg/mqc.h
+++ b/libopenjpeg/mqc.h
@@ -185,7 +185,7 @@ Initialize the decoder
@param bp Pointer to the start of the buffer from which the bytes will be read
@param len Length of the input buffer
*/
-void mqc_init_dec(opj_mqc_t *mqc, unsigned char *bp, int len);
+opj_bool mqc_init_dec(opj_mqc_t *mqc, unsigned char *bp, int len);
/**
Decode a symbol
@param mqc MQC handle