aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2003-03-12 17:14:28 +0000
committerFrançois Revol <revol@free.fr>2003-03-12 17:14:28 +0000
commitd4ad24c17ddf296aadfe34404caa461244babb27 (patch)
tree4df1c55ff16b0f2c92ad3e61cdf07b1e93e1d571 /ffmpeg.c
parent49313ba4c1c14aab308d4111b462e42a57a23a26 (diff)
downloadffmpeg-d4ad24c17ddf296aadfe34404caa461244babb27.tar.gz
Cleaner support for usleep()
Originally committed as revision 1668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index aa21dcdd2c..a8d9527178 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -20,6 +20,8 @@
#include "common.h"
#include "avformat.h"
#include "framehook.h"
+/* usleep() */
+#include "os_support.h"
#ifndef CONFIG_WIN32
#include <unistd.h>
@@ -33,7 +35,6 @@
#include <sys/types.h>
#include <sys/select.h>
#include <stdlib.h>
-#define usleep(t) _sleep2((t)/1000)
#endif
#include <time.h>
#include <ctype.h>