Silence the following GCC warning:
authorvitor <vitor@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 26 Oct 2008 15:41:11 +0000 (15:41 +0000)
committervitor <vitor@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 26 Oct 2008 15:41:11 +0000 (15:41 +0000)
libswscale/swscale.c: In function ‘pal2rgbWrapper’:
libswscale/swscale.c:1744: warning: passing argument 4 of ‘conv’ from
incompatible pointer type

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27834 b3059339-0415-0410-9bf9-f77b7e298cf2

libswscale/swscale.c

index 62c0548..a399ee9 100644 (file)
@@ -1741,7 +1741,7 @@ static int pal2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr
 
 
     for (i=0; i<srcSliceH; i++) {
-        conv(srcPtr, dstPtr, c->srcW, c->pal_rgb);
+        conv(srcPtr, dstPtr, c->srcW, (uint8_t *) c->pal_rgb);
         srcPtr+= srcStride[0];
         dstPtr+= dstStride[0];
     }