From: Philip Gladstone Date: Thu, 9 May 2002 01:19:15 +0000 (+0000) Subject: * Add a sleep when doing the post to ffserver. Yes, this is the wrong X-Git-Tag: v0.5~17838 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ddceb31d93a27ff43682de3898149dae585de16c;p=coroid%2Flibav_saccubus.git * 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 --- diff --git a/libav/http.c b/libav/http.c index b7a363e7d..d3cf883f7 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;