diff options
author | François Revol <revol@free.fr> | 2003-03-12 17:14:28 +0000 |
---|---|---|
committer | François Revol <revol@free.fr> | 2003-03-12 17:14:28 +0000 |
commit | d4ad24c17ddf296aadfe34404caa461244babb27 (patch) | |
tree | 4df1c55ff16b0f2c92ad3e61cdf07b1e93e1d571 /ffmpeg.c | |
parent | 49313ba4c1c14aab308d4111b462e42a57a23a26 (diff) | |
download | ffmpeg-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> |