projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b7016
)
Fix copy&paste error (Coverity CID 169394)
author
Even Rouault
<even.rouault@spatialys.com>
Thu, 21 Sep 2017 11:54:14 +0000
(13:54 +0200)
committer
Even Rouault
<even.rouault@spatialys.com>
Thu, 21 Sep 2017 11:54:14 +0000
(13:54 +0200)
src/lib/openjp2/j2k.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/j2k.c
b/src/lib/openjp2/j2k.c
index 36d4e94774fea7cedea9c207e3215473bdf1138d..cda722b46c65d23bf4c7eae7d59a06f5789c871b 100644
(file)
--- a/
src/lib/openjp2/j2k.c
+++ b/
src/lib/openjp2/j2k.c
@@
-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);