--- trunk/xvidcore/src/bitstream/mbcoding.c 2002/07/24 11:30:01 334 +++ trunk/xvidcore/src/bitstream/mbcoding.c 2002/07/24 19:34:14 335 @@ -412,18 +412,23 @@ Statistics * pStat) { - int intra = (pMB->mode == MODE_INTRA || pMB->mode == MODE_INTRA_Q); - if (frame->coding_type == P_VOP) { if (pMB->cbp == 0 && pMB->mode == MODE_INTER && pMB->mvs[0].x == 0 && pMB->mvs[0].y == 0) { + +#ifdef _DISABLE_SKIP +/* disable SKIP when Bframes active until some workaround for the B-SKIP problem is found */ + BitstreamPutBit(bs, 0); // always coded! +#else BitstreamPutBit(bs, 1); // not_coded + return; +#endif } else BitstreamPutBit(bs, 0); // coded } - if (intra) + if (pMB->mode == MODE_INTRA || pMB->mode == MODE_INTRA_Q) CodeBlockIntra(frame, pMB, qcoeff, bs, pStat); else CodeBlockInter(frame, pMB, qcoeff, bs, pStat);