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
cfcb63c3
Commit
cfcb63c3
authored
Jun 07, 2011
by
Mirsal Ennaime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: Correctly initialize p_sys
parent
6de1cefb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/control/dbus/dbus.c
modules/control/dbus/dbus.c
+2
-5
No files found.
modules/control/dbus/dbus.c
View file @
cfcb63c3
...
...
@@ -163,17 +163,14 @@ static int Open( vlc_object_t *p_this )
if
(
!
dbus_threads_init_default
()
)
return
VLC_EGENERIC
;
intf_sys_t
*
p_sys
=
malloc
(
sizeof
(
intf_sys_t
)
);
intf_sys_t
*
p_sys
=
calloc
(
1
,
sizeof
(
intf_sys_t
)
);
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
playlist_t
*
p_playlist
;
DBusConnection
*
p_conn
;
p_sys
->
b_meta_read
=
false
;
p_sys
->
b_dead
=
false
;
p_sys
->
p_input
=
NULL
;
p_sys
->
i_player_caps
=
PLAYER_CAPS_NONE
;
p_sys
->
i_playing_state
=
-
1
;
p_sys
->
i_playing_state
=
PLAYBACK_STATE_INVALID
;
if
(
vlc_pipe
(
p_sys
->
p_pipe_fds
)
)
{
...
...
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