Browse Source

Use usleep instead of sleep, some MinGW versions lack sleep.

Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi 18 years ago
parent
commit
c8df9c6358
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/http.c

+ 1
- 1
libavformat/http.c View File

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



Loading…
Cancel
Save