diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-09-01 16:30:45 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-09-01 16:30:45 +0200 |
| commit | 5d07d463fdb0a5eeffa90eba1566cc21697011b8 (patch) | |
| tree | 66da2887d780e817d7dc32c7044e7cccdf8292cf /src | |
| parent | 98b93103613c90753fb6c57696f9403f8ea0b1d6 (diff) | |
opj_j2k_decode_tiles(): apply whole single tile image decoding optimization to reading at reduced resolution as well
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/openjp2/j2k.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c index aef0c1c0..f1a894a4 100644 --- a/src/lib/openjp2/j2k.c +++ b/src/lib/openjp2/j2k.c @@ -10474,8 +10474,7 @@ static OPJ_BOOL opj_j2k_decode_tiles(opj_j2k_t *p_j2k, p_j2k->m_output_image->x0 == 0 && p_j2k->m_output_image->y0 == 0 && p_j2k->m_output_image->x1 == p_j2k->m_cp.tdx && - p_j2k->m_output_image->y1 == p_j2k->m_cp.tdy && - p_j2k->m_output_image->comps[0].factor == 0) { + p_j2k->m_output_image->y1 == p_j2k->m_cp.tdy) { OPJ_UINT32 i; if (! opj_j2k_read_tile_header(p_j2k, &l_current_tile_no, |
