]> granicus.if.org Git - openjpeg/commitdiff
[trunk] WIP: correct mistake in text output inside set_decoded_area function (credit...
authorMickael Savinaud <savmickael@users.noreply.github.com>
Fri, 7 Oct 2011 21:57:09 +0000 (21:57 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Fri, 7 Oct 2011 21:57:09 +0000 (21:57 +0000)
CHANGES
libopenjpeg/j2k.c

diff --git a/CHANGES b/CHANGES
index dec64d315a71af3781a15c43d603af62550009d3..10def483e487deeddc7639b4e3b398221163455d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ What's New for OpenJPEG
 + : added
 
 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 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
index 6d5b24e8659ab2492c9f0a1819676884d4cae4a8..bc611609a4e3fed8e5b90c6b59b16f301e71349a 100644 (file)
@@ -6088,7 +6088,7 @@ opj_bool j2k_set_decode_area(     opj_j2k_v2_t *p_j2k,
        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);
+                       p_end_y, l_cp->ty0);
                return OPJ_FALSE;
        }
        if (p_end_y > l_cp->ty0 + l_cp->th * l_cp->tdy){