Commit c5903708 authored by philipjsg's avatar philipjsg

Make asf files work again -- the match against the URL was being done incorrectly.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1353 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cb141023
......@@ -1185,7 +1185,7 @@ static int http_parse_request(HTTPContext *c)
if (match_ext(filename, "asx")) {
redir_type = REDIR_ASX;
filename[strlen(filename)-1] = 'f';
} else if (match_ext(filename, ".asf") &&
} else if (match_ext(filename, "asf") &&
(!useragent || strncasecmp(useragent, "NSPlayer", 8) != 0)) {
/* if this isn't WMP or lookalike, return the redirector file */
redir_type = REDIR_ASF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment