aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_vif.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-07 14:38:38 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-07 20:58:00 +0200
commitbdccb27ba41bbdc4cbef2476dfddc9a144258811 (patch)
treed3d76ef76e1d250fe9b47b56809cf629c0a3abf2 /libavfilter/vf_vif.c
parent2f9a33995a7be728d7ab4dce913be5a871c5cc5f (diff)
downloadffmpeg-bdccb27ba41bbdc4cbef2476dfddc9a144258811.tar.gz
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>
Diffstat (limited to 'libavfilter/vf_vif.c')
-rw-r--r--libavfilter/vf_vif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_vif.c b/libavfilter/vf_vif.c
index 3c662491b2..a927abaf6f 100644
--- a/libavfilter/vf_vif.c
+++ b/libavfilter/vf_vif.c
@@ -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;