From 391defcb5635c087314caca057f715d6cfe1c1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 15 Oct 2003 13:51:21 +0000 Subject: Oops, small correction yet. File MRLs which don't contain '/:' should work now. :-) CVS patchset: 5525 CVS date: 2003/10/15 13:51:21 --- src/input/input_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/input/input_file.c b/src/input/input_file.c index e82db252d..f4652a4dc 100644 --- a/src/input/input_file.c +++ b/src/input/input_file.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_file.c,v 1.83 2003/10/15 09:20:58 valtri Exp $ + * $Id: input_file.c,v 1.84 2003/10/15 13:51:21 valtri Exp $ */ #ifdef HAVE_CONFIG_H @@ -274,7 +274,7 @@ static input_plugin_t *file_class_get_instance (input_class_t *cls_gen, xine_str printf("file_class_get_instance\n"); #endif - if ((strncasecmp (mrl, "file:", 5)) && (strstr (mrl, ":/") < strchr(mrl, '/'))) { + if ((strncasecmp (mrl, "file:", 5)) && strstr (mrl, ":/") && (strstr (mrl, ":/") < strchr(mrl, '/'))) { free (mrl); return NULL; } -- cgit v1.2.3