[MPlayer-cvslog] r24845 - trunk/libvo/vosub_vidix.c

zuxy subversion at mplayerhq.hu
Tue Oct 23 10:28:11 CEST 2007


Author: zuxy
Date: Tue Oct 23 10:28:11 2007
New Revision: 24845

Log:
Get rid of void pointer arithmetic.


Modified:
   trunk/libvo/vosub_vidix.c

Modified: trunk/libvo/vosub_vidix.c
==============================================================================
--- trunk/libvo/vosub_vidix.c	(original)
+++ trunk/libvo/vosub_vidix.c	Tue Oct 23 10:28:11 2007
@@ -250,7 +250,7 @@ void     vidix_flip_page(void)
 static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)
 {
     uint32_t apitch,bespitch;
-    void *lvo_mem;
+    char *lvo_mem;
     lvo_mem = vidix_mem + vidix_play.offsets[next_frame] + vidix_play.offset.y;
     apitch = vidix_play.dest.pitch.y-1;
     switch(vidix_play.fourcc){



More information about the MPlayer-cvslog mailing list