diff libvo/vo_vesa.c @ 9958:fe733da8e8b9

10l fix by Aurelien JACOBS <aurel@gnuage.org>
author alex
date Mon, 21 Apr 2003 16:59:10 +0000
parents 3a407acefec5
children 35f52ad860a0
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Mon Apr 21 16:08:06 2003 +0000
+++ b/libvo/vo_vesa.c	Mon Apr 21 16:59:10 2003 +0000
@@ -438,10 +438,6 @@
 {
    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 @@
   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