Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d4ad24c1
Commit
d4ad24c1
authored
Mar 12, 2003
by
François Revol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaner support for usleep()
Originally committed as revision 1668 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
49313ba4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
ffmpeg.c
ffmpeg.c
+2
-1
img.c
libavformat/img.c
+1
-15
No files found.
ffmpeg.c
View file @
d4ad24c1
...
...
@@ -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>
...
...
libavformat/img.c
View file @
d4ad24c1
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment