summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-09 00:52:15 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-09 00:52:15 +0000
commit4a92dacc4ee010b02e2c3547f83b392421d182c8 (patch)
treefaf2ec583a574a4b011914b2f345109dfbc89f50 /libvo
parente6707534475c6d373a68372290598a54a868106a (diff)
downloadmpv-4a92dacc4ee010b02e2c3547f83b392421d182c8.tar.bz2
mpv-4a92dacc4ee010b02e2c3547f83b392421d182c8.tar.xz
preinit() has an arg... use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7677 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/mga_common.c4
-rw-r--r--libvo/vo_fbdev.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 67f129f5f3..8da4846880 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -355,7 +355,7 @@ static int mga_uninit(){
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 @@ static uint32_t preinit(const char *arg)
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;
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c
index 9199a3e18d..f3a89faf78 100644
--- a/libvo/vo_fbdev.c
+++ b/libvo/vo_fbdev.c
@@ -1274,7 +1274,7 @@ static void uninit(void)
#endif
}
-static uint32_t preinit(const char *arg)
+static uint32_t preinit(const char *vo_subdevice)
{
pre_init_err = 0;
#ifdef CONFIG_VIDIX