diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-07-11 14:59:41 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-07-11 14:59:41 +0000 |
| commit | f28fc6f2e10fa10e17ccaac745d0adf5ebdd8732 (patch) | |
| tree | 413299a3dded4d4d47a9369f8837afd4f890352b | |
| parent | 5ba8d36687e5ee61801e623bb93ff86b901e7bb7 (diff) | |
[trunk] Fix r156 to compile on compilers where false is not defined.
| -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 caa5a781..19b481cf 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -6326,7 +6326,7 @@ opj_bool j2k_update_rates( opj_j2k_v2_t *p_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) { @@ -6343,7 +6343,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; |
