Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> --- libavfilter/vf_vif.c | 4 ++-- 1 file 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; -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".