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
e038c526
Commit
e038c526
authored
May 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_mutex_init_recursive: remove useless parameter
parent
6da90a17
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
include/vlc_threads_funcs.h
include/vlc_threads_funcs.h
+1
-1
src/control/event.c
src/control/event.c
+1
-1
src/misc/events.c
src/misc/events.c
+1
-1
No files found.
include/vlc_threads_funcs.h
View file @
e038c526
...
...
@@ -59,7 +59,7 @@ VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) );
/*****************************************************************************
* vlc_mutex_init: initialize a recursive mutex (Don't use it)
*****************************************************************************/
#define vlc_mutex_init_recursive( P_
THIS, P_
MUTEX ) \
#define vlc_mutex_init_recursive( P_MUTEX ) \
__vlc_mutex_init_recursive( P_MUTEX )
/*****************************************************************************
...
...
src/control/event.c
View file @
e038c526
...
...
@@ -101,7 +101,7 @@ libvlc_event_manager_new( void * p_obj, libvlc_instance_t * p_libvlc_inst,
libvlc_retain
(
p_libvlc_inst
);
vlc_array_init
(
&
p_em
->
listeners_groups
);
vlc_mutex_init
(
&
p_em
->
object_lock
);
vlc_mutex_init_recursive
(
p_libvlc_inst
->
p_libvlc_int
,
&
p_em
->
event_sending_lock
);
vlc_mutex_init_recursive
(
&
p_em
->
event_sending_lock
);
return
p_em
;
}
...
...
src/misc/events.c
View file @
e038c526
...
...
@@ -123,7 +123,7 @@ int vlc_event_manager_init( vlc_event_manager_t * p_em, void * p_obj,
* This ensures that after libvlc_event_detach, the callback
* will never gets triggered.
* */
vlc_mutex_init_recursive
(
p_parent_obj
,
&
p_em
->
event_sending_lock
);
vlc_mutex_init_recursive
(
&
p_em
->
event_sending_lock
);
ARRAY_INIT
(
p_em
->
listeners_groups
);
return
VLC_SUCCESS
;
}
...
...
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