summaryrefslogtreecommitdiffstats
path: root/video/out/vo_caca.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_caca.c')
-rw-r--r--video/out/vo_caca.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/video/out/vo_caca.c b/video/out/vo_caca.c
index dd6d76f311..a14441e4f4 100644
--- a/video/out/vo_caca.c
+++ b/video/out/vo_caca.c
@@ -246,13 +246,8 @@ static void uninit(struct vo *vo)
caca_free_canvas(canvas);
}
-static int preinit(struct vo *vo, const char *arg)
+static int preinit(struct vo *vo)
{
- if (arg) {
- mp_msg(MSGT_VO, MSGL_ERR, "vo_caca: Unknown subdevice: %s\n", arg);
- return ENOSYS;
- }
-
canvas = caca_create_canvas(0, 0);
if (canvas == NULL) {
mp_msg(MSGT_VO, MSGL_ERR, "vo_caca: failed to create canvas\n");