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

bcoudurier subversion at mplayerhq.hu
Sun Jun 1 05:35:28 CEST 2008


Author: bcoudurier
Date: Sun Jun  1 05:35:27 2008
New Revision: 26948

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:35:27 2008
@@ -2542,7 +2542,7 @@ int sws_scale(SwsContext *c, uint8_t* sr
             int v= av_clip_uint8(((RV*r + GV*g + BV*b)>>RGB2YUV_SHIFT) + 128);
             pal[i]= y + (u<<8) + (v<<16);
         }
-        src2[1]= pal;
+        src2[1]= (uint8_t*)pal;
     }
 
     // copy strides, so they can safely be modified



More information about the MPlayer-cvslog mailing list