--- branches/dev-api-4/xvidcore/src/motion/motion_est.c 2003/08/28 11:14:04 1133 +++ branches/dev-api-4/xvidcore/src/motion/motion_est.c 2003/08/28 11:17:29 1134 @@ -21,7 +21,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: motion_est.c,v 1.58.2.30 2003-08-28 11:14:04 syskin Exp $ + * $Id: motion_est.c,v 1.58.2.31 2003-08-28 11:17:29 syskin Exp $ * ****************************************************************************/ @@ -2252,7 +2252,7 @@ if (*Data->iMinSAD > 4 * MAX_SAD00_FOR_SKIP) { /* diamond only if needed */ unsigned int mask = make_mask(pmv, 3, *Data->dir); - DiamondSearch(Data->currentMV->x, Data->currentMV->y, Data, 255/*mask*/, CheckCandidate32I); + DiamondSearch(Data->currentMV->x, Data->currentMV->y, Data, mask, CheckCandidate32I); } }