diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-12-20 17:10:30 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-12-20 17:10:30 +0000 |
| commit | a3a161660a8d1b364056b383ad30723543efe13f (patch) | |
| tree | 434806e0153cb3b35b652ea855da089a4934659d /libopenjpeg/tcd.c | |
| parent | 2643f790690b875d2914cace9360066ec29d7d8b (diff) | |
Fix strange line, as reported by lockalsash (gmail.com)
Diffstat (limited to 'libopenjpeg/tcd.c')
| -rw-r--r-- | libopenjpeg/tcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c index 9725f0b7..dc49cd6e 100644 --- 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->x0); + y0 = j == 0 ? tilec->y0 : int_min(y0, (unsigned int) tilec->y0); x1 = j == 0 ? tilec->x1 : int_max(x1, (unsigned int) tilec->x1); y1 = j == 0 ? tilec->y1 : int_max(y1, (unsigned int) tilec->y1); } |
