]> granicus.if.org Git - libvpx/commitdiff
Fix the parameter of vp9_full_pixel_diamond_new
authorAngie Chiang <angiebird@google.com>
Tue, 4 Dec 2018 23:44:56 +0000 (15:44 -0800)
committerAngie Chiang <angiebird@google.com>
Tue, 4 Dec 2018 23:46:51 +0000 (15:46 -0800)
Change-Id: I36b970953c960fde65d7b7705ccfa575c8741c43

vp9/encoder/vp9_rdopt.c

index 2e1aa1d30e6ed0bb0346920dd64d66b15e31a75b..b55e2ddb4117556eef9d043a845acd891c90c243 100644 (file)
@@ -2461,7 +2461,7 @@ static void single_motion_search(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize,
 #if CONFIG_NON_GREEDY_MV
       this_me = vp9_full_pixel_diamond_new(
           cpi, x, &mvp_full, VPXMAX(step_param, MAX_MVSEARCH_STEPS - step),
-          lambda, 1, &cpi->fn_ptr[bsize], nb_full_mvs, &tmp_mv->as_mv, &mv_dist,
+          lambda, 1, &cpi->fn_ptr[bsize], nb_full_mvs, &this_mv, &mv_dist,
           &mv_cost);
 #else   // CONFIG_NON_GREEDY_MV
       this_me = vp9_full_pixel_search(