[trunk] WIP: correct mistake inside set_decoded_area function (credit to Francois De Vieilleville)
This commit is contained in:
parent
e4b728ccb9
commit
238652b36c
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@ What's New for OpenJPEG
|
|||
+ : added
|
||||
|
||||
October 07, 2011
|
||||
* [mickael] WIP: correct mistake inside set_decoded_area function (credit to Francois De Vieilleville)
|
||||
+ [mickael] WIP: backport rev 967-969 from opj-1.5 to trunk about test suite enhancement and rename of opj_configh.cmake.in
|
||||
|
||||
October 06, 2011
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue