]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/http.c
cosmetics: use one type per field in every structs
[ffmpeg] / libavformat / http.c
index e057d6efe90e1e8828e850ad90bc23b189c46ee8..6a509dc6aa2187561f63b8095fe221f6e97630e9 100644 (file)
@@ -24,8 +24,8 @@
 
 #include "base64.h"
 
-/* XXX: POST protocol is not completly implemented because ffmpeg use
-   only a subset of it */
+/* XXX: POST protocol is not completely implemented because ffmpeg uses
+   only a subset of it. */
 
 //#define DEBUG
 
@@ -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;
     }