diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-10-07 14:36:29 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-10-07 14:36:29 +0000 |
| commit | 238652b36cdf140769ad1df92bfe339ec466ef79 (patch) | |
| tree | 41b8e44a27fd1fb2a5a0f47c1069a14a5e800704 /libopenjpeg | |
| parent | e4b728ccb9038e49ac646facff462a99f93d3b09 (diff) | |
[trunk] WIP: correct mistake inside set_decoded_area function (credit to Francois De Vieilleville)
Diffstat (limited to 'libopenjpeg')
| -rw-r--r-- | libopenjpeg/j2k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index 5cd36310..6d5b24e8 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -6085,7 +6085,7 @@ opj_bool j2k_set_decode_area( opj_j2k_v2_t *p_j2k, p_j2k->m_specific_param.m_decoder.m_end_tile_x = int_ceildiv((p_end_x - l_cp->tx0), l_cp->tdx); /* Bottom */ - if (p_end_x < l_cp->ty0) { + if (p_end_y < l_cp->ty0) { opj_event_msg_v2(p_manager, EVT_ERROR, "Right position of the decoded area (ROI_y1=%d) is outside the tile area (YTOsiz=%d).\n", p_end_x, l_cp->ty0); |
