diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-21 16:32:53 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-21 16:32:53 +0000 |
commit | 214d90e4315ce8a97277ddaab96af6400814f9f8 (patch) | |
tree | 593ebdfd58a09b860eaa2453f4e962092d5994a9 | |
parent | 57bd498e1b0b90a649a4805021f5c290dc35a228 (diff) | |
download | mpv-214d90e4315ce8a97277ddaab96af6400814f9f8.tar.bz2 mpv-214d90e4315ce8a97277ddaab96af6400814f9f8.tar.xz |
multiple preinit support -- cleaning vidix_name between the multiple preinits. Patch by Aurlien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9633 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_vesa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 3e1ecf30df..175e2dcea8 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -436,6 +436,10 @@ 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; } |