10l fix by Aurelien JACOBS <aurel@gnuage.org>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9959 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-04-21 16:59:10 +00:00
parent 29ff365244
commit 3baee8608e
1 changed files with 4 additions and 4 deletions

View File

@ -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