[FFmpeg-cvslog] vf_lut: fix pointer type (const) warning

Michael Niedermayer git at videolan.org
Thu May 10 20:13:14 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 10 20:09:37 2012 +0200| [2a793ff2bf2197f36db3bf296668d44915142d03] | committer: Michael Niedermayer

vf_lut: fix pointer type (const) warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a793ff2bf2197f36db3bf296668d44915142d03
---

 libavfilter/vf_lut.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index 99df9e5..2a2c0b7 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++) {



More information about the ffmpeg-cvslog mailing list