ref: 3c6fefebee2799f01003dd4191657b5404f2e822
parent: 5039d2d82b3beab14ca7c354e1a8fefe67bb671a
author: Angie Chiang <angiebird@google.com>
date: Tue Dec 4 10:44:56 EST 2018
Fix the parameter of vp9_full_pixel_diamond_new Change-Id: I36b970953c960fde65d7b7705ccfa575c8741c43
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2461,7 +2461,7 @@
#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(