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
a838a72f
Commit
a838a72f
authored
Jul 10, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist preparse and fetch: return error if appropriate
parent
6a80bb9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/playlist/control.c
src/playlist/control.c
+6
-6
No files found.
src/playlist/control.c
View file @
a838a72f
...
...
@@ -203,9 +203,9 @@ int playlist_PreparseEnqueue( playlist_t *p_playlist, input_item_t *p_item )
{
playlist_private_t
*
p_sys
=
pl_priv
(
p_playlist
);
if
(
p_sys
->
p_preparser
)
if
(
unlikely
(
p_sys
->
p_preparser
==
NULL
)
)
return
VLC_ENOMEM
;
playlist_preparser_Push
(
p_sys
->
p_preparser
,
p_item
);
return
VLC_SUCCESS
;
}
...
...
@@ -213,9 +213,9 @@ int playlist_AskForArtEnqueue( playlist_t *p_playlist, input_item_t *p_item )
{
playlist_private_t
*
p_sys
=
pl_priv
(
p_playlist
);
if
(
p_sys
->
p_fetcher
)
if
(
unlikely
(
p_sys
->
p_fetcher
==
NULL
)
)
return
VLC_ENOMEM
;
playlist_fetcher_Push
(
p_sys
->
p_fetcher
,
p_item
);
return
VLC_SUCCESS
;
}
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