diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-05-05 20:20:10 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-05-05 20:20:10 +0000 |
commit | 259a762d997a3fc55839d291ead7858784f7931f (patch) | |
tree | 18512578d8588ea0743c3c4cbc70b564e960dcc9 /src/input/input_file.c | |
parent | 55458a1d4e415713a605c1f0e863e7b22c195422 (diff) | |
download | xine-lib-259a762d997a3fc55839d291ead7858784f7931f.tar.gz xine-lib-259a762d997a3fc55839d291ead7858784f7931f.tar.bz2 |
Fixed mrl checking (mrl:// wasn't respected).
CVS patchset: 1853
CVS date: 2002/05/05 20:20:10
Diffstat (limited to 'src/input/input_file.c')
-rw-r--r-- | src/input/input_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c index 5ebe7dda5..ada3f2b10 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.47 2002/04/24 08:12:13 f1rmb Exp $ + * $Id: input_file.c,v 1.48 2002/05/05 20:20:10 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -282,8 +282,8 @@ static int file_plugin_open (input_plugin_t *this_gen, char *mrl) { this->mrl = strdup(mrl); - if (!strncasecmp (this->mrl, "file:",5)) - filename = &this->mrl[5]; + if (!strncasecmp (this->mrl, "file://", 7)) + filename = &this->mrl[7]; else filename = this->mrl; |