summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_vesa.c4
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; }