| Index: source/libvpx/vp9/encoder/vp9_encodemv.c
|
| diff --git a/source/libvpx/vp9/encoder/vp9_encodemv.c b/source/libvpx/vp9/encoder/vp9_encodemv.c
|
| index a1d77dba87acad4eecf64500047133d4d0c18ba1..a4dee7306e5f1aff6e85aaba28ba6d5ff7dfa76a 100644
|
| --- a/source/libvpx/vp9/encoder/vp9_encodemv.c
|
| +++ b/source/libvpx/vp9/encoder/vp9_encodemv.c
|
| @@ -12,7 +12,6 @@
|
|
|
| #include "vp9/common/vp9_common.h"
|
| #include "vp9/common/vp9_entropymode.h"
|
| -#include "vp9/common/vp9_systemdependent.h"
|
|
|
| #include "vp9/encoder/vp9_cost.h"
|
| #include "vp9/encoder/vp9_encodemv.h"
|
| @@ -217,8 +216,8 @@ void vp9_encode_mv(VP9_COMP* cpi, vpx_writer* w,
|
| // If auto_mv_step_size is enabled then keep track of the largest
|
| // motion vector component used.
|
| if (cpi->sf.mv.auto_mv_step_size) {
|
| - unsigned int maxv = MAX(abs(mv->row), abs(mv->col)) >> 3;
|
| - cpi->max_mv_magnitude = MAX(maxv, cpi->max_mv_magnitude);
|
| + unsigned int maxv = VPXMAX(abs(mv->row), abs(mv->col)) >> 3;
|
| + cpi->max_mv_magnitude = VPXMAX(maxv, cpi->max_mv_magnitude);
|
| }
|
| }
|
|
|
|
|