[trunk] WIP: correct mistake in text output inside set_decoded_area function (credit to Winfried)

This commit is contained in:
Mickael Savinaud 2011-10-07 21:57:09 +00:00
parent efd780f82a
commit 4d4b29ea94
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ What's New for OpenJPEG
+ : added + : added
October 07, 2011 October 07, 2011
* [mickael] WIP: correct mistake in text output inside set_decoded_area function (credit to Winfried)
+ [mickael] WIP: update jp2 dump functions with the new V2 framework + [mickael] WIP: update jp2 dump functions with the new V2 framework
+ [mickael] WIP: update output filename of conformance dump test to be compatible with new baseline + [mickael] WIP: update output filename of conformance dump test to be compatible with new baseline
* [mickael] WIP: correct wrong input in dump_codec function and add missing return value * [mickael] WIP: correct wrong input in dump_codec function and add missing return value

View File

@ -6088,7 +6088,7 @@ opj_bool j2k_set_decode_area( opj_j2k_v2_t *p_j2k,
if (p_end_y < l_cp->ty0) { if (p_end_y < l_cp->ty0) {
opj_event_msg_v2(p_manager, EVT_ERROR, 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", "Right position of the decoded area (ROI_y1=%d) is outside the tile area (YTOsiz=%d).\n",
p_end_x, l_cp->ty0); p_end_y, l_cp->ty0);
return OPJ_FALSE; return OPJ_FALSE;
} }
if (p_end_y > l_cp->ty0 + l_cp->th * l_cp->tdy){ if (p_end_y > l_cp->ty0 + l_cp->th * l_cp->tdy){