--- branches/dev-api-4/xvidcore/src/bitstream/mbcoding.c 2003/02/22 08:24:01 889 +++ branches/dev-api-4/xvidcore/src/bitstream/mbcoding.c 2003/02/22 08:49:45 890 @@ -664,7 +664,7 @@ BitstreamPutBits(bs, pMB->dquant, 2); // write interlacing - if (frame->global_flags & XVID_INTERLACING) { + if (frame->vol_flags & XVID_INTERLACING) { BitstreamPutBit(bs, pMB->field_dct); } // code block coeffs @@ -678,7 +678,7 @@ if (pMB->cbp & (1 << (5 - i))) { const uint16_t *scan_table = - frame->global_flags & XVID_ALTERNATESCAN ? + frame->vop_flags & XVID_ALTERNATESCAN ? scan_tables[2] : scan_tables[pMB->acpred_directions[i]]; bits = BitstreamPos(bs); @@ -726,7 +726,7 @@ BitstreamPutBits(bs, pMB->dquant, 2); // interlacing - if (frame->global_flags & XVID_INTERLACING) { + if (frame->vol_flags & XVID_INTERLACING) { if (pMB->cbp) { BitstreamPutBit(bs, pMB->field_dct); DPRINTF(DPRINTF_MB,"codep: field_dct: %i", pMB->field_dct); @@ -758,7 +758,7 @@ if (pMB->cbp & (1 << (5 - i))) { const uint16_t *scan_table = - frame->global_flags & XVID_ALTERNATESCAN ? + frame->vop_flags & XVID_ALTERNATESCAN ? scan_tables[2] : scan_tables[0]; #ifdef BIGLUT