]> granicus.if.org Git - libvpx/commitdiff
Removed redundant src_mi in mv ref candidates
authorZoe Liu <zoeliu@google.com>
Thu, 19 Feb 2015 17:44:05 +0000 (09:44 -0800)
committerZoe Liu <zoeliu@google.com>
Thu, 19 Feb 2015 17:44:05 +0000 (09:44 -0800)
Change-Id: I4eb144e7c9d2c8568388ae58001cc7b7498967e4

vp9/common/vp9_mvref_common.c

index f40024b6742d87c1877de598ceae79224fa208a8..d18a6e13faed55c428ac0a83ec3434feb7f6e4cf 100644 (file)
@@ -23,7 +23,7 @@ static void find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd,
   const MODE_INFO *prev_mi = !cm->error_resilient_mode && cm->prev_mi
         ? cm->prev_mi[mi_row * xd->mi_stride + mi_col].src_mi
         : NULL;
-  const MB_MODE_INFO *const prev_mbmi = prev_mi ? &prev_mi->src_mi->mbmi : NULL;
+  const MB_MODE_INFO *const prev_mbmi = prev_mi ? &prev_mi->mbmi : NULL;
   const POSITION *const mv_ref_search = mv_ref_blocks[mi->mbmi.sb_type];
   int different_ref_found = 0;
   int context_counter = 0;