summaryrefslogtreecommitdiffstats
path: root/video/out/vo_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_null.c')
-rw-r--r--video/out/vo_null.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/video/out/vo_null.c b/video/out/vo_null.c
index 685b9c3a84..88c355033f 100644
--- a/video/out/vo_null.c
+++ b/video/out/vo_null.c
@@ -56,12 +56,8 @@ static void uninit(struct vo *vo)
{
}
-static int preinit(struct vo *vo, const char *arg)
+static int preinit(struct vo *vo)
{
- if (arg) {
- mp_tmsg(MSGT_VO, MSGL_WARN, "[VO_NULL] Unknown subdevice: %s.\n", arg);
- return ENOSYS;
- }
return 0;
}