Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
25de145c
Commit
25de145c
authored
Mar 13, 2009
by
Laurent Aimar
Browse files
Added missing lock for INPUT_EVENT_ABORT check (input).
parent
ce60c191
Changes
1
Show whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
25de145c
...
...
@@ -511,7 +511,11 @@ static void *Run( vlc_object_t *p_this )
exit:
/* Tell we're dead */
if
(
p_input
->
p
->
b_abort
)
vlc_mutex_lock
(
&
p_input
->
p
->
lock_control
);
const
bool
b_abort
=
p_input
->
p
->
b_abort
;
vlc_mutex_unlock
(
&
p_input
->
p
->
lock_control
);
if
(
b_abort
)
input_SendEventAbort
(
p_input
);
input_SendEventDead
(
p_input
);
...
...
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