[MPlayer-cvslog] r33800 - trunk/libvo/mga_template.c

reimar subversion at mplayerhq.hu
Sun Jul 3 01:26:05 CEST 2011


Author: reimar
Date: Sun Jul  3 01:26:05 2011
New Revision: 33800

Log:
Remove pointless and in addition incorrect cast.

Modified:
   trunk/libvo/mga_template.c

Modified: trunk/libvo/mga_template.c
==============================================================================
--- trunk/libvo/mga_template.c	Sun Jul  3 01:22:49 2011	(r33799)
+++ trunk/libvo/mga_template.c	Sun Jul  3 01:26:05 2011	(r33800)
@@ -440,7 +440,7 @@ static int mga_init(int width,int height
 
 	mp_msg(MSGT_VO,MSGL_V,"[MGA] Using %d buffers.\n",mga_vid_config.num_frames);
 
-	frames[0] = (char*)mmap(0,mga_vid_config.frame_size*mga_vid_config.num_frames,PROT_WRITE,MAP_SHARED,f,0);
+	frames[0] = mmap(0,mga_vid_config.frame_size*mga_vid_config.num_frames,PROT_WRITE,MAP_SHARED,f,0);
 	frames[1] = frames[0] + 1*mga_vid_config.frame_size;
 	frames[2] = frames[0] + 2*mga_vid_config.frame_size;
 	frames[3] = frames[0] + 3*mga_vid_config.frame_size;


More information about the MPlayer-cvslog mailing list