]> granicus.if.org Git - libvpx/commitdiff
Fix a build issue
authorYaowu Xu <yaowu@google.com>
Thu, 19 May 2016 21:24:41 +0000 (14:24 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 19 May 2016 21:24:41 +0000 (14:24 -0700)
When both obmc and dual_filter is enabled.

Change-Id: I56b127573a6cca31469bb357cf7a6a9c3df64071

vp10/encoder/rdopt.c

index 2e58799f7be6b506b497ab208566d9bfcab0cfc2..c27c887ce8e8882fcdbceca1d1501362e9db2b4a 100644 (file)
@@ -7662,9 +7662,9 @@ static int64_t handle_inter_mode(VP10_COMP *cpi, MACROBLOCK *x,
 #endif  // CONFIG_EXT_INTER
 #if CONFIG_EXT_INTERP
 #if CONFIG_DUAL_FILTER
-        if (!has_subpel_mv_component(xd, 0))
+        if (!has_subpel_mv_component(xd->mi[0], xd, 0))
           obmc_interp_filter[1][0] = mbmi->interp_filter[0] = EIGHTTAP_REGULAR;
-        if (!has_subpel_mv_component(xd, 1))
+        if (!has_subpel_mv_component(xd->mi[0], xd, 1))
           obmc_interp_filter[1][1] = mbmi->interp_filter[1] = EIGHTTAP_REGULAR;
 #else
         if (!vp10_is_interp_needed(xd))