diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2016-05-23 10:34:44 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2016-05-23 11:53:54 +0200 |
| commit | 956c31d5a6e4530a92b6dd6099bdbf071144f6f1 (patch) | |
| tree | 823b31cdece924574daf732f6cdb81986ca4d89e /src/lib | |
| parent | 93f7f907117675cf6af227b4d0243a58f6c3640a (diff) | |
opj_t1_dec_clnpass(): remove useless test in the runlen decoding path (of the non VSC case)
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/t1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/t1.c b/src/lib/openjp2/t1.c index 89a7ff85..a2c5dc6a 100644 --- a/src/lib/openjp2/t1.c +++ b/src/lib/openjp2/t1.c @@ -1236,7 +1236,7 @@ static void opj_t1_enc_clnpass( runlen = (runlen << 1) | opj_mqc_decode(mqc); \ flags2 += (OPJ_UINT32)runlen * flags_stride; \ data2 += (OPJ_UINT32)runlen * w; \ - for (j = (OPJ_UINT32)runlen; j < 4 && j < h; ++j) { \ + for (j = (OPJ_UINT32)runlen; j < 4; ++j) { \ flags2 += flags_stride; \ if (j == (OPJ_UINT32)runlen) { \ opj_t1_dec_clnpass_step_partial(t1, flags2, colflags2, data2, oneplushalf, j); \ |
