From 1bbde82c28861fbc19455fcb758543c3fa811a6f Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Fri, 10 Aug 2012 17:15:23 -0700 Subject: [PATCH] fix build problem for newbestrefmv experiment Change-Id: I7f531d55f076254c84402fed34af93fe3685fbdf --- vp8/common/findnearmv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vp8/common/findnearmv.c b/vp8/common/findnearmv.c index 15a21b4..1087ee4 100644 --- a/vp8/common/findnearmv.c +++ b/vp8/common/findnearmv.c @@ -106,7 +106,7 @@ void vp8_find_near_mvs if (aboveleft->mbmi.mv[0].as_int) { third = aboveleft; #if CONFIG_NEWBESTREFMV - ref_mv[2].as_int = aboveleft->mbmi.mv.as_int; + ref_mv[2].as_int = aboveleft->mbmi.mv[0].as_int; mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, (ref_mv+2), ref_frame_sign_bias); #endif @@ -114,8 +114,8 @@ void vp8_find_near_mvs third = lf_here; } #if CONFIG_NEWBESTREFMV - if (lf_here->mbmi.mv.as_int) { - ref_mv[3].as_int = lf_here->mbmi.mv.as_int; + if (lf_here->mbmi.mv[0].as_int) { + ref_mv[3].as_int = lf_here->mbmi.mv[0].as_int; mv_bias(ref_frame_sign_bias[lf_here->mbmi.ref_frame], refframe, (ref_mv+3), ref_frame_sign_bias); } -- 2.7.4