Showing the changes to libavfilter/vf_convolution.c (1 of 1 file). Show all
Unified · Split
| @@ -541,7 +541,7 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) · 540 unmodified lines | ||
| 541 | 541 | const float rdiv = s->rdiv[plane]; |
| 542 | 542 | const float bias = s->bias[plane]; |
| 543 | 543 | const uint8_t *src = in->data[plane]; |
| 544 | − const int dst_pos = slice_start * (mode == MATRIX_COLUMN ? bpc : out->linesize[plane]); | |
| 544 | + const int dst_pos = slice_start * (mode == MATRIX_COLUMN ? bpc : dstride); | |
| 545 | 545 | uint8_t *dst = out->data[plane] + dst_pos; |
| 546 | 546 | const int *matrix = s->matrix[plane]; |
| 547 | 547 | const uint8_t *c[49]; |