opj_t1_dec_clnpass(): remove useless test in the runlen decoding path (of the non VSC case)
This commit is contained in:
parent
93f7f90711
commit
956c31d5a6
|
@ -1236,7 +1236,7 @@ static void opj_t1_enc_clnpass(
|
||||||
runlen = (runlen << 1) | opj_mqc_decode(mqc); \
|
runlen = (runlen << 1) | opj_mqc_decode(mqc); \
|
||||||
flags2 += (OPJ_UINT32)runlen * flags_stride; \
|
flags2 += (OPJ_UINT32)runlen * flags_stride; \
|
||||||
data2 += (OPJ_UINT32)runlen * w; \
|
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; \
|
flags2 += flags_stride; \
|
||||||
if (j == (OPJ_UINT32)runlen) { \
|
if (j == (OPJ_UINT32)runlen) { \
|
||||||
opj_t1_dec_clnpass_step_partial(t1, flags2, colflags2, data2, oneplushalf, j); \
|
opj_t1_dec_clnpass_step_partial(t1, flags2, colflags2, data2, oneplushalf, j); \
|
||||||
|
|
Loading…
Reference in New Issue