diff --git a/src/search_inter.c b/src/search_inter.c index e86be590..df2cba1b 100644 --- a/src/search_inter.c +++ b/src/search_inter.c @@ -902,8 +902,8 @@ static unsigned search_mv_full(encoder_state_t * const state, if (cost < best_cost) { best_cost = cost; best_bitcost = bitcost; - mv.x = x; - mv.y = y; + best_mv.x = x; + best_mv.y = y; } } }