Browse Source

* 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
tags/v0.5
Philip Gladstone 23 years ago
parent
commit
ddceb31d93
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libav/http.c

+ 3
- 1
libav/http.c View File

@@ -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;


Loading…
Cancel
Save