Commit 2a793ff2 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_lut: fix pointer type (const) warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 98e409ec
......@@ -303,7 +303,7 @@ static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
for (i = 0; i < h; i ++) {
int w = inlink->w;
const uint8_t (*tab)[256] = lut->lut;
const uint8_t (*tab)[256] = (const uint8_t (*)[256])lut->lut;
inrow = inrow0;
outrow = outrow0;
for (j = 0; j < w; j++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment