Remove unused variables from search_pu_inter_ref function

This commit is contained in:
Miika Metsoila 2017-09-18 15:36:37 +03:00
parent 7b0101ce3d
commit 6e00f63469

View file

@ -1071,10 +1071,6 @@ static void search_pu_inter_ref(inter_search_info_t *info,
uint32_t *inter_bitcost) uint32_t *inter_bitcost)
{ {
const kvz_config *cfg = &info->state->encoder_control->cfg; const kvz_config *cfg = &info->state->encoder_control->cfg;
const videoframe_t * const frame = info->state->tile->frame;
kvz_picture *ref_image = info->state->frame->ref->images[info->ref_idx];
uint32_t temp_bitcost = 0;
uint32_t temp_cost = 0;
// which list, L0 or L1, ref_idx is in and in what index // which list, L0 or L1, ref_idx is in and in what index
int8_t ref_list = -1; int8_t ref_list = -1;