# HG changeset patch # User ulion # Date 1198027680 0 # Node ID 76941781b52103d6a2d5f285b1ee225419fde734 # Parent 34a4cfe1bf6d703a1ac6e02f92e2c787b9cae7eb Protocol name should be case insensitive. diff -r 34a4cfe1bf6d -r 76941781b521 stream/stream.c --- a/stream/stream.c Wed Dec 19 01:21:59 2007 +0000 +++ b/stream/stream.c Wed Dec 19 01:28:00 2007 +0000 @@ -229,7 +229,7 @@ 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,