aboutsummaryrefslogtreecommitdiffstats
path: root/libav
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-05-09 01:19:15 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-05-09 01:19:15 +0000
commitddceb31d93a27ff43682de3898149dae585de16c (patch)
treecff4b2b17463982ef7f48a13320b2aaf43f3f908 /libav
parent28c66901a94699421223797a929740061a4f1c64 (diff)
downloadffmpeg-ddceb31d93a27ff43682de3898149dae585de16c.tar.gz
* Add a sleep when doing the post to ffserver. Yes, this is the wrong
solution. Originally committed as revision 464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav')
-rw-r--r--libav/http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libav/http.c b/libav/http.c
index b7a363e7de..d3cf883f79 100644
--- a/libav/http.c
+++ b/libav/http.c
@@ -217,8 +217,10 @@ static int http_connect(URLContext *h, const char *path)
s->buf_end = s->buffer;
s->line_count = 0;
s->location[0] = '\0';
- if (post)
+ if (post) {
+ sleep(1);
return 0;
+ }
/* wait for header */
q = line;