From: Yaowu Xu Date: Sat, 11 Aug 2012 00:15:23 +0000 (-0700) Subject: fix build problem for newbestrefmv experiment X-Git-Tag: v1.3.0~1217^2~315 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bbde82c28861fbc19455fcb758543c3fa811a6f;p=libvpx fix build problem for newbestrefmv experiment Change-Id: I7f531d55f076254c84402fed34af93fe3685fbdf --- diff --git a/vp8/common/findnearmv.c b/vp8/common/findnearmv.c index 15a21b492..1087ee4f8 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); }