[Mplayer-cvslog] CVS: main/libvo mga_common.c,1.40,1.41 vo_fbdev.c,1.69,1.70

Arpi of Ize arpi at mplayerhq.hu
Wed Oct 9 02:52:17 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv16911

Modified Files:
	mga_common.c vo_fbdev.c 
Log Message:
preinit() has an arg... use it.


Index: mga_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/mga_common.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- mga_common.c	22 Sep 2002 02:33:26 -0000	1.40
+++ mga_common.c	9 Oct 2002 00:52:15 -0000	1.41
@@ -355,7 +355,7 @@
   return 0;
 }
 
-static uint32_t preinit(const char *arg)
+static uint32_t preinit(const char *vo_subdevice)
 {
   char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid";
 
@@ -363,7 +363,7 @@
 	if(f == -1)
 	{
 		perror("open");
-		printf("Couldn't open %s\n",devname); 
+		printf("vo_mga: Couldn't open %s\n",devname);
 		return(-1);
 	}
   return 0;

Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- vo_fbdev.c	17 Sep 2002 09:55:05 -0000	1.69
+++ vo_fbdev.c	9 Oct 2002 00:52:15 -0000	1.70
@@ -1274,7 +1274,7 @@
 #endif
 }
 
-static uint32_t preinit(const char *arg)
+static uint32_t preinit(const char *vo_subdevice)
 {
     pre_init_err = 0;
 #ifdef CONFIG_VIDIX




More information about the MPlayer-cvslog mailing list