--- branches/dev-api-4/xvidcore/src/motion/motion_comp.c 2003/02/21 14:49:29 886 +++ branches/dev-api-4/xvidcore/src/motion/motion_comp.c 2003/02/22 08:49:45 890 @@ -410,7 +410,7 @@ const uint32_t edged_width = pParam->edged_width; int32_t dx, dy, b_dx, b_dy, sumx, sumy, b_sumx, b_sumy; int k; - const int quarterpel = pParam->m_quarterpel; + const int quarterpel = pParam->vol_flags & XVID_QUARTERPEL; const uint8_t * ptr1, * ptr2; uint8_t * const tmp = f_refv->u; const VECTOR * const fmvs = (quarterpel ? mb->qmvs : mb->mvs);