[MPlayer-cvslog] r26947 - trunk/libswscale/swscale.c

bcoudurier subversion at mplayerhq.hu
Sun Jun 1 05:34:39 CEST 2008


Author: bcoudurier
Date: Sun Jun  1 05:34:39 2008
New Revision: 26947

Log:
add const, suppress warnings

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Sun Jun  1 05:34:39 2008
@@ -1848,7 +1848,7 @@ static int gray16swap(SwsContext *c, uin
     int y=      srcSliceY;
     int height= srcSliceH;
     int i, j;
-    uint16_t *srcPtr= src[0];
+    uint16_t *srcPtr= (uint16_t*)src[0];
     uint16_t *dstPtr= dst[0] + dstStride[0]*y/2;
     for (i=0; i<height; i++)
     {



More information about the MPlayer-cvslog mailing list