diff options
author | Slavik Gnatenko <miracle9@newmail.ru> | 2003-01-11 20:34:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-11 20:34:38 +0000 |
commit | f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d (patch) | |
tree | 3f59e4e94680c16859794b5ead5ce03eb51d0c31 /libavformat/img.c | |
parent | 143cc725273c130220e42b7281318ae80083cda3 (diff) | |
download | ffmpeg-f3ec2d46bae60984cb9d0a26e94a2cc298b4f06d.tar.gz |
os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
Originally committed as revision 1447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/img.c')
-rw-r--r-- | libavformat/img.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/img.c b/libavformat/img.c index 139e0f48af..f5c45f2c63 100644 --- a/libavformat/img.c +++ b/libavformat/img.c @@ -26,9 +26,13 @@ #ifdef __BEOS__ # ifndef usleep # include <OS.h> -# define usleep(t) snooze((bigtime_t)(t)) +# define usleep(t) snooze((bigtime_t)(t)) # endif #endif +#if defined(CONFIG_OS2) +# include <stdlib.h> +# define usleep(t) _sleep2((t) / 1000) +#endif typedef struct { int width; |