diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2003-10-15 13:51:21 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2003-10-15 13:51:21 +0000 |
commit | 391defcb5635c087314caca057f715d6cfe1c1c5 (patch) | |
tree | f3f21e697f9c6c3f4b3cc7db9482f99975f8380f | |
parent | e305a7bf2001fffb9b88cb33dc7be01d9e61ca11 (diff) | |
download | xine-lib-391defcb5635c087314caca057f715d6cfe1c1c5.tar.gz xine-lib-391defcb5635c087314caca057f715d6cfe1c1c5.tar.bz2 |
Oops, small correction yet. File MRLs which don't contain '/:' should work now. :-)
CVS patchset: 5525
CVS date: 2003/10/15 13:51:21
-rw-r--r-- | src/input/input_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |