projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2643f79
)
Fix strange line, as reported by lockalsash (gmail.com)
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 20 Dec 2011 17:10:30 +0000
(17:10 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 20 Dec 2011 17:10:30 +0000
(17:10 +0000)
libopenjpeg/tcd.c
patch
|
blob
|
history
diff --git
a/libopenjpeg/tcd.c
b/libopenjpeg/tcd.c
index 9725f0b763a58aeb951160ed924c1e571428c2e1..dc49cd6ec6576ed74f83ac072df9cbe4871d7b95 100644
(file)
--- a/
libopenjpeg/tcd.c
+++ b/
libopenjpeg/tcd.c
@@
-656,7
+656,7
@@
void tcd_malloc_decode(opj_tcd_t *tcd, opj_image_t * image, opj_cp_t * cp) {
tilec->y1 = int_ceildiv(tile->y1, image->comps[i].dy);
x0 = j == 0 ? tilec->x0 : int_min(x0, (unsigned int) tilec->x0);
- y0 = j == 0 ? tilec->y0 : int_min(y0, (unsigned int) tilec->
x
0);
+ y0 = j == 0 ? tilec->y0 : int_min(y0, (unsigned int) tilec->
y
0);
x1 = j == 0 ? tilec->x1 : int_max(x1, (unsigned int) tilec->x1);
y1 = j == 0 ? tilec->y1 : int_max(y1, (unsigned int) tilec->y1);
}