Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
96793133
Commit
96793133
authored
Feb 06, 2010
by
Rémi Denis-Courmont
Browse files
XDG screensaver: fix initialization ordering
parent
d4a98023
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/misc/xdg-screensaver.c
View file @
96793133
...
...
@@ -63,6 +63,8 @@ static int Open (vlc_object_t *obj)
vlc_mutex_init
(
&
p_sys
->
lock
);
vlc_cond_init
(
&
p_sys
->
wait
);
p_sys
->
suspend
=
false
;
if
(
vlc_clone
(
&
p_sys
->
thread
,
Thread
,
ih
,
VLC_THREAD_PRIORITY_LOW
))
{
vlc_cond_destroy
(
&
p_sys
->
wait
);
...
...
@@ -70,8 +72,6 @@ static int Open (vlc_object_t *obj)
free
(
p_sys
);
return
VLC_ENOMEM
;
}
p_sys
->
suspend
=
false
;
return
VLC_SUCCESS
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment