--- trunk/xvidcore/src/motion/motion_est.c 2002/04/01 22:47:58 96 +++ trunk/xvidcore/src/motion/motion_est.c 2002/04/11 10:18:40 115 @@ -340,6 +340,9 @@ int32_t sad16; int32_t deviation; + if (sadInit); + (*sadInit)(); + // note: i==horizontal, j==vertical for (i = 0; i < iHcount; i++) for (j = 0; j < iWcount; j++)