History

avfilter/vf_convolution: use already available dstride

Paul B Mahol committed 8 years ago

Commit 4cd4aa01 parent bcff9831 file · +1 −1Browse files

Showing the changes to libavfilter/vf_convolution.c (1 of 1 file). Show all

Unified · Split

libavfilter/vf_convolution.c+1−1
@@ -541,7 +541,7 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) · 540 unmodified lines
541541 const float rdiv = s->rdiv[plane];
542542 const float bias = s->bias[plane];
543543 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);
545545 uint8_t *dst = out->data[plane] + dst_pos;
546546 const int *matrix = s->matrix[plane];
547547 const uint8_t *c[49];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t