Browse Source

vf_pixdesctest: Fix incompatible pointer type warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 13 years ago
parent
commit
e96aa8d1a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavfilter/vf_pixdesctest.c

+ 1 - 1
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);