Commit ddceb31d authored by Philip Gladstone's avatar Philip Gladstone

* 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
parent 28c66901
...@@ -217,8 +217,10 @@ static int http_connect(URLContext *h, const char *path) ...@@ -217,8 +217,10 @@ static int http_connect(URLContext *h, const char *path)
s->buf_end = s->buffer; s->buf_end = s->buffer;
s->line_count = 0; s->line_count = 0;
s->location[0] = '\0'; s->location[0] = '\0';
if (post) if (post) {
sleep(1);
return 0; return 0;
}
/* wait for header */ /* wait for header */
q = line; q = line;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment