diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2003-10-15 09:20:58 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2003-10-15 09:20:58 +0000 |
commit | e305a7bf2001fffb9b88cb33dc7be01d9e61ca11 (patch) | |
tree | a90f2f0681656b20e046cc965d5f62aea051aae5 | |
parent | 72f38e2184c53c4e627088e09b99facecdfdde61 (diff) | |
download | xine-lib-e305a7bf2001fffb9b88cb33dc7be01d9e61ca11.tar.gz xine-lib-e305a7bf2001fffb9b88cb33dc7be01d9e61ca11.tar.bz2 |
Michael's simply solution for using crazy named directries (with ':' character) in file MRLs.
CVS patchset: 5524
CVS date: 2003/10/15 09:20:58
-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 29690d30f..e82db252d 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.82 2003/10/13 11:14:46 mroi Exp $ + * $Id: input_file.c,v 1.83 2003/10/15 09:20:58 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, ":/"))) { + if ((strncasecmp (mrl, "file:", 5)) && (strstr (mrl, ":/") < strchr(mrl, '/'))) { free (mrl); return NULL; } |