diff options
author | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-05-09 01:19:15 +0000 |
---|---|---|
committer | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-05-09 01:19:15 +0000 |
commit | ddceb31d93a27ff43682de3898149dae585de16c (patch) | |
tree | cff4b2b17463982ef7f48a13320b2aaf43f3f908 /libav | |
parent | 28c66901a94699421223797a929740061a4f1c64 (diff) | |
download | ffmpeg-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.c | 4 |
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; |