From 3baee8608e8d7bdddcaefa732b2b0101376d8f51 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 21 Apr 2003 16:59:10 +0000 Subject: [PATCH] 10l fix by Aurelien JACOBS git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9959 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_vesa.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 74ce4f869a..d046e309e2 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -438,10 +438,6 @@ static uint32_t parseSubDevice(const char *sd) { uint32_t flags; flags = 0; - lvo_name = NULL; -#ifdef CONFIG_VIDIX - vidix_name = NULL; -#endif if(strcmp(sd,"nodga") == 0) { flags |= SUBDEV_NODGA; flags &= ~(SUBDEV_FORCEDGA); } else if(strcmp(sd,"dga") == 0) { flags &= ~(SUBDEV_NODGA); flags |= SUBDEV_FORCEDGA; } @@ -1024,6 +1020,10 @@ static uint32_t preinit(const char *arg) if(verbose > 2) printf("vo_vesa: subdevice %s is being initialized\n",arg); subdev_flags = 0; + lvo_name = NULL; +#ifdef CONFIG_VIDIX + vidix_name = NULL; +#endif if(arg) subdev_flags = parseSubDevice(arg); if(lvo_name) pre_init_err = vlvo_preinit(lvo_name); #ifdef CONFIG_VIDIX