summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2003-03-04 02:56:51 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2003-03-04 02:56:51 +0000
commitcb275dd9ebb5566ce38ccc66755ab597fd4cdad7 (patch)
tree0382c3ae0dff49311e48deef62255de8cd780112 /ffserver.c
parent6b9b85c165ae71e38f41d64e9bb1adf13cbb253f (diff)
downloadffmpeg-cb275dd9ebb5566ce38ccc66755ab597fd4cdad7.tar.gz
This should fix the negative bandwidth in use in ffserver. Turned out that
when WMP reports in, then we didn't increment the bandwidth, but we did decrement it. Originally committed as revision 1619 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index bedfe5a7a3..91ca672e59 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1456,6 +1456,7 @@ static int http_parse_request(HTTPContext *c)
}
sprintf(msg, "POST command not handled");
+ c->stream = 0;
goto send_error;
}
if (http_start_receive_data(c) < 0) {