From bcb6fa6d83a2e4a073fc15bdd49cb2d20d0f54b5 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 2 May 2003 15:02:11 +0000 Subject: require slash on mrl syntax. exception: file plugin can accept relative paths (see message on xine-devel) CVS patchset: 4751 CVS date: 2003/05/02 15:02:11 --- src/input/input_v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/input_v4l.c') diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index 3f07815e8..f45a1a7da 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -486,7 +486,7 @@ static input_plugin_t *v4l_class_get_instance (input_class_t *cls_gen, v4l_input_plugin_t *this; char *mrl = strdup(data); - if (strncasecmp (mrl, "v4l:", 4)) { + if (strncasecmp (mrl, "v4l:/", 5)) { free (mrl); return NULL; } -- cgit v1.2.3