mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
2f9a33995a
commit
bdccb27ba4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue