Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d8180bb2
Commit
d8180bb2
authored
May 20, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libvlc.h: hopefully fix a few warnings.
* win32_specific.c, threads.c: fix win32 compilation.
parent
bfaade68
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/libvlc.h
src/libvlc.h
+2
-1
src/misc/threads.c
src/misc/threads.c
+2
-0
src/misc/win32_specific.c
src/misc/win32_specific.c
+0
-3
No files found.
src/libvlc.h
View file @
d8180bb2
...
...
@@ -74,7 +74,8 @@ struct libvlc_global_data_t
#endif
};
static
inline
libvlc_global_data_t
*
vlc_global
(
vlc_object_t
*
p_this
)
#define vlc_global( a ) __vlc_global( VLC_OBJECT( a ) )
static
inline
libvlc_global_data_t
*
__vlc_global
(
vlc_object_t
*
p_this
)
{
return
(
libvlc_global_data_t
*
)
p_this
->
p_libvlc_global
;
}
...
...
src/misc/threads.c
View file @
d8180bb2
...
...
@@ -74,6 +74,8 @@ int __vlc_threads_init( vlc_object_t *p_this )
#elif defined( ST_INIT_IN_ST_H )
#elif defined( UNDER_CE )
#elif defined( WIN32 )
b_fast_mutex
=
config_GetInt
(
p_this
,
"fast-mutex"
);
i_win9x_cv
=
config_GetInt
(
p_this
,
"win9x-cv-method"
);
#elif defined( HAVE_KERNEL_SCHEDULER_H )
#elif defined( PTHREAD_COND_T_IN_PTHREAD_H )
pthread_mutex_lock
(
&
once_mutex
);
...
...
src/misc/win32_specific.c
View file @
d8180bb2
...
...
@@ -121,9 +121,6 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND, UINT, WPARAM, LPARAM );
void
system_Configure
(
libvlc_int_t
*
p_this
,
int
*
pi_argc
,
char
*
ppsz_argv
[]
)
{
#if !defined( UNDER_CE )
p_this
->
p_libvlc_global
->
b_fast_mutex
=
config_GetInt
(
p_this
,
"fast-mutex"
);
p_this
->
p_libvlc_global
->
i_win9x_cv
=
config_GetInt
(
p_this
,
"win9x-cv-method"
);
/* Raise default priority of the current process */
#ifndef ABOVE_NORMAL_PRIORITY_CLASS
# define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
...
...
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