diff options
| author | Antonin Descampe <antonin@gmail.com> | 2005-11-01 10:15:34 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2005-11-01 10:15:34 +0000 |
| commit | 8f3bd54c3dd0403aae45abccdcc850eab5faeb6a (patch) | |
| tree | 7a8c3aa95f4990d26a65eff5f515fd22deb24577 /libopenjpeg/mqc.c | |
| parent | 18a9bcb882b9af492714ff122a6b403961a2dfb3 (diff) | |
Changes proposed by Mathieu Malaterre from the GDCM project... Thanks a lot Mathieu
- '//' replaced by '/* */'
- inclusion of int.h in int.c
- inclusion of j2k.h in int.h in order to export symbols
- adding (void) var when a variable is declared but not used
- some explicit cast
- CLOCKS_PER_SEC is declared as float in bcc55, so there is a need to cast it to int for the modulo operation
- some variables changed from float -> double
Diffstat (limited to 'libopenjpeg/mqc.c')
| -rw-r--r-- | libopenjpeg/mqc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/mqc.c b/libopenjpeg/mqc.c index 31adc845..727b8742 100644 --- a/libopenjpeg/mqc.c +++ b/libopenjpeg/mqc.c @@ -536,10 +536,10 @@ void mqc_init_dec(unsigned char *bp, int len) mqc_start = bp; mqc_end = bp + len; mqc_bp = bp; - //add antonin initbug1 + /*add antonin initbug1*/ if (len==0) mqc_c = 0xff << 16; else mqc_c = *mqc_bp << 16; - //dda + /*dda*/ mqc_bytein(); mqc_c <<= 7; mqc_ct -= 7; |
