[FFmpeg-cvslog] vf_pixdesctest: Fix incompatible pointer type warning.

Michael Niedermayer git at videolan.org
Wed Oct 19 00:28:51 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 18 23:59:59 2011 +0200| [e96aa8d1a064bbcfacbe80371bac1e49398a48e7] | committer: Michael Niedermayer

vf_pixdesctest: Fix incompatible pointer type warning.

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

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

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

diff --git a/libavfilter/vf_pixdesctest.c b/libavfilter/vf_pixdesctest.c
index 1fb577e..a6e5d0c 100644
--- a/libavfilter/vf_pixdesctest.c
+++ b/libavfilter/vf_pixdesctest.c
@@ -92,7 +92,7 @@ static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
 
         for (i = y1; i < y1 + h1; i++) {
             av_read_image_line(priv->line,
-                               inpic->data,
+                               (void*)inpic->data,
                                inpic->linesize,
                                priv->pix_desc,
                                0, i, c, w1, 0);



More information about the ffmpeg-cvslog mailing list