Fix copy&paste error (Coverity CID 169394)

This commit is contained in:
Even Rouault 2017-09-21 13:54:14 +02:00
parent 16b701659d
commit 68e596dada
1 changed files with 1 additions and 1 deletions

View File

@ -9301,7 +9301,7 @@ OPJ_BOOL opj_j2k_set_decode_area(opj_j2k_t *p_j2k,
}
/* Up */
if (p_start_x < 0) {
if (p_start_y < 0) {
opj_event_msg(p_manager, EVT_ERROR,
"Up position of the decoded area (region_y0=%d) should be >= 0.\n",
p_start_y);