diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-18 16:57:13 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-18 16:57:13 +0000 |
commit | 92325b7f17bc96da46dda3445c9f9facec17a485 (patch) | |
tree | 0b14a274b88314830c96369d7703357f359c2534 | |
parent | 3840424ca421b186ae4aa24281536a86f850d744 (diff) | |
download | xine-lib-92325b7f17bc96da46dda3445c9f9facec17a485.tar.gz xine-lib-92325b7f17bc96da46dda3445c9f9facec17a485.tar.bz2 |
Fix MRL protocol matching (for demuxer lookup).
-rw-r--r-- | src/xine-engine/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c index 6f9f6381d..5010c60eb 100644 --- a/src/xine-engine/demux.c +++ b/src/xine-engine/demux.c @@ -464,7 +464,7 @@ int _x_demux_check_extension (const char *mrl, const char *extensions){ while ( ( e = xine_strsep(&ext_work, " ")) != NULL ) { if ( strstr(e, ":/") ) { - if ( strcasecmp (mrl, e) == 0 ) { + if ( strncasecmp (mrl, e, strlen (e)) == 0 ) { found = 1; break; } |