changeset 2089:c770b9a1f78f libavformat

Use usleep instead of sleep, some MinGW versions lack sleep.
author alex
date Thu, 17 May 2007 10:30:03 +0000
parents 02150368fd80
children 34440139b3a7
files http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/http.c	Wed May 16 12:25:54 2007 +0000
+++ b/http.c	Thu May 17 10:30:03 2007 +0000
@@ -245,7 +245,7 @@
     s->off = 0;
     s->filesize = -1;
     if (post) {
-        sleep(1);
+        usleep(1000*1000);
         return 0;
     }