summaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-12-21 02:41:22 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-12-21 02:41:22 +0000
commitc2ce254cab7b708569a360f3be055ed2b7c6696f (patch)
treef3fd94ea77286330e732ac11fe4a158b5371a404 /ffserver.c
parentc6c11cb6c620af1e4d4d96b373456b83cfec1ae5 (diff)
downloadffmpeg-streaming-c2ce254cab7b708569a360f3be055ed2b7c6696f.zip
ffmpeg-streaming-c2ce254cab7b708569a360f3be055ed2b7c6696f.tar.gz
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
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 598d47f..d9c8cf9 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -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;
OpenPOWER on IntegriCloud