avfilter/vf_vif: Don't cast const away unnecessarily

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-09-07 14:38:38 +02:00
parent 2f9a33995a
commit bdccb27ba4
1 changed files with 2 additions and 2 deletions

View File

@ -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;