--- trunk/xvidcore/src/bitstream/mbcoding.c 2002/06/29 12:47:19 251 +++ trunk/xvidcore/src/bitstream/mbcoding.c 2002/06/30 10:46:29 252 @@ -573,15 +573,6 @@ ***************************************************************/ -void -skip_stuffing(Bitstream *bs) -{ - while (BitstreamShowBits(bs, 9) == 1) - BitstreamSkip(bs, 9); -} - - - // for IVOP addbits == 0 // for PVOP addbits == fcode - 1 // for BVOP addbits == max(fcode,bcode) - 1 @@ -782,6 +773,10 @@ } coeff += run; block[scan[coeff]] = level; + + DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[coeff], level); + //DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[coeff], level, BitstreamShowBits(bs, 32)); + if (level < -127 || level > 127) { DEBUG1("warning: intra_overflow", level); } @@ -811,6 +806,10 @@ p += run; block[scan[p]] = level; + + DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[p], level); + // DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[p], level, BitstreamShowBits(bs, 32)); + if (level < -127 || level > 127) { DEBUG1("warning: inter_overflow", level); }