Fixes #8250
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -280,7 +280,7 @@ static int slice_get_derivative(AVFilterContext* ctx, void* arg, int jobnr, int · 279 unmodified lines | |||
| 280 | dst[INDX2D(r, c, width)] = 0; | 280 | dst[INDX2D(r, c, width)] = 0; |
| 281 | for (g = 0; g < filtersize; ++g) { | 281 | for (g = 0; g < filtersize; ++g) { |
| 282 | dst[INDX2D(r, c, width)] += GAUSS(src, r, c + GINDX(filtersize, g), | 282 | dst[INDX2D(r, c, width)] += GAUSS(src, r, c + GINDX(filtersize, g), |
| 283 | in_linesize, height, width, gauss[GINDX(filtersize, g)]); | 283 | in_linesize, height, width, gauss[g]); |
| 284 | } | 284 | } |
| 285 | } | 285 | } |
| 286 | } | 286 | } |
| @@ -295,7 +295,7 @@ static int slice_get_derivative(AVFilterContext* ctx, void* arg, int jobnr, int · 8 unmodified lines | |||
| 295 | dst[INDX2D(r, c, width)] = 0; | 295 | dst[INDX2D(r, c, width)] = 0; |
| 296 | for (g = 0; g < filtersize; ++g) { | 296 | for (g = 0; g < filtersize; ++g) { |
| 297 | dst[INDX2D(r, c, width)] += GAUSS(src, r + GINDX(filtersize, g), c, | 297 | dst[INDX2D(r, c, width)] += GAUSS(src, r + GINDX(filtersize, g), c, |
| 298 | width, height, width, gauss[GINDX(filtersize, g)]); | 298 | width, height, width, gauss[g]); |
| 299 | } | 299 | } |
| 300 | } | 300 | } |
| 301 | } | 301 | } |