Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -301,8 +301,8 @@ static int compute_vif2(AVFilterContext *ctx, · 300 unmodified lines | ||
| 301 | 301 | float *main_sq_filt = data_buf[11]; |
| 302 | 302 | float *ref_main_filt = data_buf[12]; |
| 303 | 303 | |
| 304 | − float *curr_ref_scale = (float *)ref; | |
| 305 | − float *curr_main_scale = (float *)main; | |
| 304 | + const float *curr_ref_scale = ref; | |
| 305 | + const float *curr_main_scale = main; | |
| 306 | 306 | int curr_ref_stride = ref_stride; |
| 307 | 307 | int curr_main_stride = main_stride; |
| 308 | 308 | |