From 2a793ff2bf2197f36db3bf296668d44915142d03 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 10 May 2012 20:09:37 +0200 Subject: [PATCH] vf_lut: fix pointer type (const) warning Signed-off-by: Michael Niedermayer --- libavfilter/vf_lut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 99df9e58b6..2a2c0b7e99 100644 --- a/libavfilter/vf_lut.c +++ b/libavfilter/vf_lut.c @@ -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++) {