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
GSoC
GSoC2018
macOS
vlc
Commits
f2903b7d
Commit
f2903b7d
authored
Aug 10, 2007
by
Pierre d'Herbemont
Browse files
control/media_list_player.c: Initialize p_mlist, and p_mi.
parent
262b177b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/control/media_list_player.c
View file @
f2903b7d
...
@@ -165,7 +165,8 @@ libvlc_media_list_player_new( libvlc_instance_t * p_instance,
...
@@ -165,7 +165,8 @@ libvlc_media_list_player_new( libvlc_instance_t * p_instance,
libvlc_media_list_player_t
*
p_mlp
;
libvlc_media_list_player_t
*
p_mlp
;
p_mlp
=
malloc
(
sizeof
(
libvlc_media_list_player_t
));
p_mlp
=
malloc
(
sizeof
(
libvlc_media_list_player_t
));
p_mlp
->
i_current_playing_index
=
-
1
;
p_mlp
->
i_current_playing_index
=
-
1
;
p_mlp
->
p_mi
=
NULL
;
p_mlp
->
p_mlist
=
NULL
;
vlc_mutex_init
(
p_instance
->
p_libvlc_int
,
&
p_mlp
->
object_lock
);
vlc_mutex_init
(
p_instance
->
p_libvlc_int
,
&
p_mlp
->
object_lock
);
return
p_mlp
;
return
p_mlp
;
...
...
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