Skip to content
Snippets Groups Projects
Commit c8df9c63 authored by Alex Beregszaszi's avatar Alex Beregszaszi
Browse files

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

Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0bda7817
No related branches found
No related tags found
No related merge requests found
...@@ -245,7 +245,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr, ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment