From 4a92dacc4ee010b02e2c3547f83b392421d182c8 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 9 Oct 2002 00:52:15 +0000 Subject: preinit() has an arg... use it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7677 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/mga_common.c | 4 ++-- libvo/vo_fbdev.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libvo') 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 -- cgit v1.2.3