diff options
Diffstat (limited to 'libvo/vo_md5.c')
-rw-r--r-- | libvo/vo_md5.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libvo/vo_md5.c b/libvo/vo_md5.c index 6160cc96cd..e32536ccce 100644 --- a/libvo/vo_md5.c +++ b/libvo/vo_md5.c @@ -16,6 +16,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> #include "config.h" #include "video_out.h" @@ -105,7 +106,12 @@ static void check_events(void) static uint32_t preinit(const char *arg) { - return 0; + if(arg) + { + printf("vo_md5: Unknown subdevice: %s\n",arg); + return ENOSYS; + } + return 0; } static uint32_t control(uint32_t request, void *data, ...) |