scalar_derived quantization type bug fixed (2)

This commit is contained in:
Antonin Descampe 2004-07-09 14:37:12 +00:00
parent 651f98ad06
commit f50f66c0c9
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ void j2k_read_qcx(int compno, int len)
if (tccp->qntsty==J2K_CCP_QNTSTY_SIQNT) { if (tccp->qntsty==J2K_CCP_QNTSTY_SIQNT) {
for (bandno=1 ; bandno<J2K_MAXBANDS ; bandno++) { for (bandno=1 ; bandno<J2K_MAXBANDS ; bandno++) {
tccp->stepsizes[bandno].expn = ((tccp->stepsizes[0].expn)-((bandno-1)/3+1)>0)?(tccp->stepsizes[0].expn)-((bandno-1)/3+1):0; tccp->stepsizes[bandno].expn = ((tccp->stepsizes[0].expn)-((bandno-1)/3)>0)?(tccp->stepsizes[0].expn)-((bandno-1)/3):0;
tccp->stepsizes[bandno].mant = tccp->stepsizes[0].mant; tccp->stepsizes[bandno].mant = tccp->stepsizes[0].mant;
} }
} }