Commit bdccb27b authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avfilter/vf_vif: Don't cast const away unnecessarily

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 2f9a3399
......@@ -301,8 +301,8 @@ static int compute_vif2(AVFilterContext *ctx,
float *main_sq_filt = data_buf[11];
float *ref_main_filt = data_buf[12];
float *curr_ref_scale = (float *)ref;
float *curr_main_scale = (float *)main;
const float *curr_ref_scale = ref;
const float *curr_main_scale = main;
int curr_ref_stride = ref_stride;
int curr_main_stride = main_stride;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment