vf_lut: fix pointer type (const) warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-05-10 20:09:37 +02:00
parent 98e409ecaa
commit 2a793ff2bf
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {