mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
Use usleep instead of sleep, some MinGW versions lack sleep.
Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0bda781739
commit
c8df9c6358
@ -245,7 +245,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
|
|||||||
s->off = 0;
|
s->off = 0;
|
||||||
s->filesize = -1;
|
s->filesize = -1;
|
||||||
if (post) {
|
if (post) {
|
||||||
sleep(1);
|
usleep(1000*1000);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user