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

bcoudurier subversion at mplayerhq.hu
Sun Jun 1 05:36:23 CEST 2008


Author: bcoudurier
Date: Sun Jun  1 05:36:23 2008
New Revision: 26949

Log:
cast to correct type, 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:36:23 2008
@@ -1849,7 +1849,7 @@ static int gray16swap(SwsContext *c, uin
     int height= srcSliceH;
     int i, j;
     uint16_t *srcPtr= (uint16_t*)src[0];
-    uint16_t *dstPtr= dst[0] + dstStride[0]*y/2;
+    uint16_t *dstPtr= (uint16_t*)(dst[0] + dstStride[0]*y/2);
     for (i=0; i<height; i++)
     {
         for (j=0; j<length; j++) dstPtr[j] = bswap_16(srcPtr[j]);



More information about the MPlayer-cvslog mailing list