diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-07-11 15:00:55 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-07-11 15:00:55 +0000 |
| commit | 6b5bbc2645961a1259bb84698f95af813011dcbb (patch) | |
| tree | d8676f235931ec5f6670a36f462b8d500751b590 /libopenjpeg | |
| parent | 8b5f815925b1776f1d21997f4aa3e139cae356ac (diff) | |
[1.5] Fix r1727 (Issue 156) to compile on compilers where false is not defined.
Diffstat (limited to 'libopenjpeg')
| -rw-r--r-- | libopenjpeg/j2k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index ec0c29b2..093d3c5c 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -1602,7 +1602,7 @@ static void j2k_write_eoc(opj_j2k_t *j2k) { static void j2k_read_eoc(opj_j2k_t *j2k) { int i, tileno; - opj_bool success = false; + opj_bool success = OPJ_FALSE; /* if packets should be decoded */ if (j2k->cp->limit_decoding != DECODE_ALL_BUT_PACKETS) { @@ -1619,7 +1619,7 @@ static void j2k_read_eoc(opj_j2k_t *j2k) { tcd_free_decode_tile(tcd, i); } else - success = false; + success = OPJ_FALSE; if (success == OPJ_FALSE) { j2k->state |= J2K_STATE_ERR; break; |
