Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffmpeg
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
J. Dekker
ffmpeg
Commits
613f789c
Commit
613f789c
authored
7 years ago
by
James Almer
Browse files
Options
Downloads
Patches
Plain Diff
w32pthreads: remove some remaining superfluous checks
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
cf57cb3a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compat/w32pthreads.h
+0
-7
0 additions, 7 deletions
compat/w32pthreads.h
with
0 additions
and
7 deletions
compat/w32pthreads.h
+
0
−
7
View file @
613f789c
...
...
@@ -39,11 +39,6 @@
#include
<windows.h>
#include
<process.h>
#if _WIN32_WINNT < 0x0600 && defined(__MINGW32__)
#undef MemoryBarrier
#define MemoryBarrier __sync_synchronize
#endif
#include
"libavutil/attributes.h"
#include
"libavutil/common.h"
#include
"libavutil/internal.h"
...
...
@@ -63,10 +58,8 @@ typedef CONDITION_VARIABLE pthread_cond_t;
#define PTHREAD_MUTEX_INITIALIZER SRWLOCK_INIT
#define PTHREAD_COND_INITIALIZER CONDITION_VARIABLE_INIT
#if _WIN32_WINNT >= 0x0600
#define InitializeCriticalSection(x) InitializeCriticalSectionEx(x, 0, 0)
#define WaitForSingleObject(a, b) WaitForSingleObjectEx(a, b, FALSE)
#endif
static
av_unused
unsigned
__stdcall
attribute_align_arg
win32thread_worker
(
void
*
arg
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment