Originally committed as revision 9891 to svn://svn.ffmpeg.org/ffmpeg/trunk
int chincpl[AC3_MAX_CHANNELS];
int phsflginu;
int cplcoe;
- uint32_t cplbndstrc;
+ int cplbndstrc[18];
int rematstr;
int nrematbnd;
int rematflg[AC3_MAX_CHANNELS];
}
i++;
}
- } while((ctx->cplbndstrc >> subbnd) & 1);
+ } while(ctx->cplbndstrc[subbnd]);
}
}
if (get_bits1(gb)) { /* coupling strategy */
ctx->cplinu = get_bits1(gb);
- ctx->cplbndstrc = 0;
if (ctx->cplinu) { /* coupling in use */
int cplbegf, cplendf;
ctx->cplendmant = cplendf * 12 + 73;
for (i = 0; i < ctx->ncplsubnd - 1; i++) /* coupling band structure */
if (get_bits1(gb)) {
- ctx->cplbndstrc |= 1 << i;
+ ctx->cplbndstrc[i] = 1;
ctx->ncplbnd--;
}
} else {