diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-19 01:28:00 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-19 01:28:00 +0000 |
commit | 88cd8566b54efc9b3b43791e1ea2f47546c42732 (patch) | |
tree | 96ca79ac339f1b5660fe52b203dd737debe8852c /stream | |
parent | 8a36c1f6ae909bf9e6bca2ff7335d2e78e2942ee (diff) | |
download | mpv-88cd8566b54efc9b3b43791e1ea2f47546c42732.tar.bz2 mpv-88cd8566b54efc9b3b43791e1ea2f47546c42732.tar.xz |
Protocol name should be case insensitive.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25457 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c index 4555a62381..84cd0a2e41 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -229,7 +229,7 @@ stream_t* open_stream_full(char* filename,int mode, char** options, int* file_fo l = strlen(sinfo->protocols[j]); // l == 0 => Don't do protocol matching (ie network and filenames) if((l == 0 && !strstr(filename, "://")) || - ((strncmp(sinfo->protocols[j],filename,l) == 0) && + ((strncasecmp(sinfo->protocols[j],filename,l) == 0) && (strncmp("://",filename+l,3) == 0))) { *file_format = DEMUXER_TYPE_UNKNOWN; s = open_stream_plugin(sinfo,filename,mode,options,file_format,&r, |