[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.78,1.79

Sascha Sommer CVS syncmail at mplayerhq.hu
Fri Mar 26 17:03:56 CET 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var2/tmp/cvs-serv19576/vidix/drivers

Modified Files:
	radeon_vid.c 
Log Message:
temporary workaround to make it work on windows

Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- radeon_vid.c	26 Mar 2004 14:11:31 -0000	1.78
+++ radeon_vid.c	26 Mar 2004 16:03:53 -0000	1.79
@@ -1084,6 +1084,9 @@
       radeon_ram_size = 8192*1024;
   }
 #endif
+#ifdef WIN32
+  if(radeon_ram_size > 16*1024*1024)radeon_ram_size=16*1024*1024;
+#endif
   if((radeon_mem_base = map_phys_mem(pci_info.base0,radeon_ram_size))==(void *)-1) return ENOMEM;
   memset(&besr,0,sizeof(bes_registers_t));
   radeon_vid_make_default();




More information about the MPlayer-cvslog mailing list