diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-07-05 12:51:29 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-07-05 12:55:02 +0200 |
commit | 0f39ef4db2b899bcaea98d6e485ff5915d594717 (patch) | |
tree | 6211e41d000733246293a8167f68f8fe07e58361 /libavfilter/vf_lut.c | |
parent | a514244319abe39a9b2d6e4b2f5f0a5917b87e74 (diff) | |
download | ffmpeg-0f39ef4db2b899bcaea98d6e485ff5915d594717.tar.gz |
avfilter/vf_lut: fix regression with >8bit planar filtering
Diffstat (limited to 'libavfilter/vf_lut.c')
-rw-r--r-- | libavfilter/vf_lut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 90998e655f..1fdc5e1812 100644 --- a/libavfilter/vf_lut.c +++ b/libavfilter/vf_lut.c @@ -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++) { |