Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
richgel999 committed Feb 17, 2021
1 parent 352e5eb commit 4b9b673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ namespace ert
memcpy(trial_block + ofs, pPrev_blk + ofs, len);

color_rgba decoded_trial_block[MAX_BLOCK_PIXELS];
if (!(*pUnpack_block_func)(trial_block, decoded_trial_block, pUnpack_block_func_user_data))
if (!(*pUnpack_block_func)(trial_block, decoded_trial_block, block_index, pUnpack_block_func_user_data))
continue;

float trial_mse = compute_block_mse(pPixels, decoded_trial_block, block_width, block_height, total_block_pixels, num_comps, params.m_color_weights, one_over_total_color_weight);
Expand Down

0 comments on commit 4b9b673

Please sign in to comment.