diff libvo/vo_fsdga.c @ 4737:32e1f5042f65

I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'
author nick
date Sun, 17 Feb 2002 08:24:43 +0000
parents c35d7ce151b3
children 2001affedb75
line wrap: on
line diff
--- a/libvo/vo_fsdga.c	Sun Feb 17 03:06:38 2002 +0000
+++ b/libvo/vo_fsdga.c	Sun Feb 17 08:24:43 2002 +0000
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <errno.h>
 
 //#include "fastmemcpy.h"
 
@@ -458,7 +459,12 @@
 
 static uint32_t preinit(const char *arg)
 {
-  return 0;
+    if(arg) 
+    {
+	printf("vo_fsdga: Unknown subdevice: %s\n",arg);
+	return ENOSYS;
+    }
+    return 0;
 }
 
 static uint32_t control(uint32_t request, void *data, ...)