aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-05-17 10:30:03 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-05-17 10:30:03 +0000
commitc8df9c63587e061e08d17ace01fef15fb9834b4d (patch)
treec441ddf57ae7562866438291498a9d455be0e7d6 /libavformat/http.c
parent0bda78173932c3d128fbee663eb96d69a7501a3f (diff)
downloadffmpeg-c8df9c63587e061e08d17ace01fef15fb9834b4d.tar.gz
Use usleep instead of sleep, some MinGW versions lack sleep.
Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index b28a56f7ea..6a509dc6aa 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -245,7 +245,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
s->off = 0;
s->filesize = -1;
if (post) {
- sleep(1);
+ usleep(1000*1000);
return 0;
}