1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/vf_lut: fix regression with >8bit planar filtering

This commit is contained in:
Paul B Mahol 2019-07-05 12:51:29 +02:00
parent a514244319
commit 0f39ef4db2

View File

@ -456,8 +456,8 @@ static int lut_planar_16bits(AVFilterContext *ctx, void *arg, int jobnr, int nb_
const int in_linesize = in->linesize[plane] / 2;
const int out_linesize = out->linesize[plane] / 2;
inrow = (uint16_t *)(in ->data[plane] + slice_start * in_linesize);
outrow = (uint16_t *)(out->data[plane] + slice_start * out_linesize);
inrow = (uint16_t *)in ->data[plane] + slice_start * in_linesize;
outrow = (uint16_t *)out->data[plane] + slice_start * out_linesize;
for (i = slice_start; i < slice_end; i++) {
for (j = 0; j < w; j++) {