diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-21 16:59:10 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-21 16:59:10 +0000 |
commit | 3baee8608e8d7bdddcaefa732b2b0101376d8f51 (patch) | |
tree | 84a3c2c5dfb4e8f81a6e52282b330bb565b4778a /libvo/vo_vesa.c | |
parent | 29ff365244ed8ff5cc27901c7e9a7419cc9e6d01 (diff) | |
download | mpv-3baee8608e8d7bdddcaefa732b2b0101376d8f51.tar.bz2 mpv-3baee8608e8d7bdddcaefa732b2b0101376d8f51.tar.xz |
10l fix by Aurelien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9959 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r-- | libvo/vo_vesa.c | 8 |
1 files 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 |