mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Make asf files work again -- the match against the URL was being done incorrectly.
Originally committed as revision 1353 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c6c11cb6c6
commit
c2ce254cab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user