mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-28 03:34:06 +00:00
Use correct index
This commit is contained in:
parent
2343958a14
commit
8f866ff83a
|
@ -1589,7 +1589,7 @@ static void search_pu_inter(encoder_state_t * const state,
|
|||
if (cfg->rdo >= 2) {
|
||||
|
||||
kvz_inter_recon_cu(state, lcu, x, y, width);
|
||||
mrg_costs[merge_idx] = kvz_satd_any_size(width, height,
|
||||
mrg_costs[num_rdo_cands] = kvz_satd_any_size(width, height,
|
||||
lcu->rec.y + y_local * LCU_WIDTH + x_local, LCU_WIDTH,
|
||||
lcu->ref.y + y_local * LCU_WIDTH + x_local, LCU_WIDTH);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue