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 /libavformat | |
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 'libavformat')
-rw-r--r-- | libavformat/img.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/libavformat/img.c b/libavformat/img.c index 36e501f109..980f4f981b 100644 --- a/libavformat/img.c +++ b/libavformat/img.c @@ -18,21 +18,7 @@ */ #include <unistd.h> #include "avformat.h" - -#ifdef __MINGW32__ -# include <windows.h> -# define usleep(t) Sleep((t) / 1000) -#endif -#ifdef __BEOS__ -# ifndef usleep -# include <OS.h> -# define usleep(t) snooze((bigtime_t)(t)) -# endif -#endif -#if defined(CONFIG_OS2) -# include <stdlib.h> -# define usleep(t) _sleep2((t) / 1000) -#endif +#include "../os_support.h" typedef struct { int width; |