Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2cce58f4
Commit
2cce58f4
authored
Mar 22, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of rev [19385]
parent
9ba0769a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/control/playlist.c
src/control/playlist.c
+7
-2
No files found.
src/control/playlist.c
View file @
2cce58f4
...
...
@@ -155,7 +155,7 @@ int libvlc_playlist_items_count( libvlc_instance_t *p_instance,
libvlc_input_t
*
libvlc_playlist_get_input
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
{
libvlc_input_t
*
p_input
;
libvlc_input_t
*
p_input
=
NULL
;
assert
(
p_instance
->
p_playlist
);
vlc_mutex_lock
(
&
p_instance
->
p_playlist
->
object_lock
);
...
...
@@ -166,7 +166,12 @@ libvlc_input_t * libvlc_playlist_get_input( libvlc_instance_t *p_instance,
return
NULL
;
}
p_input
=
(
libvlc_input_t
*
)
malloc
(
sizeof
(
libvlc_input_t
)
);
if
(
!
p_input
)
{
libvlc_exception_raise
(
p_e
,
"No memory left"
);
vlc_mutex_unlock
(
&
p_instance
->
p_playlist
->
object_lock
);
return
NULL
;
}
p_input
->
i_input_id
=
p_instance
->
p_playlist
->
p_input
->
i_object_id
;
p_input
->
p_instance
=
p_instance
;
vlc_mutex_unlock
(
&
p_instance
->
p_playlist
->
object_lock
);
...
...
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