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