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
9f507dec
Commit
9f507dec
authored
Aug 15, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist demux: do not set empty art URL
parent
4fa1af77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/demux/playlist/podcast.c
modules/demux/playlist/podcast.c
+1
-1
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+1
-1
No files found.
modules/demux/playlist/podcast.c
View file @
9f507dec
...
...
@@ -210,7 +210,7 @@ static int Demux( demux_t *p_demux )
}
else
{
if
(
!
strcmp
(
psz_elname
,
"url"
)
)
if
(
!
strcmp
(
psz_elname
,
"url"
)
&&
*
node
)
{
free
(
psz_art_url
);
psz_art_url
=
strdup
(
node
);
...
...
modules/demux/playlist/xspf.c
View file @
9f507dec
...
...
@@ -547,7 +547,7 @@ static bool set_item_info SIMPLE_INTERFACE
input_item_SetDescription
(
p_input
,
psz_value
);
else
if
(
!
strcmp
(
psz_name
,
"info"
))
input_item_SetURL
(
p_input
,
psz_value
);
else
if
(
!
strcmp
(
psz_name
,
"image"
))
else
if
(
!
strcmp
(
psz_name
,
"image"
)
&&
*
psz_value
)
input_item_SetArtURL
(
p_input
,
psz_value
);
return
true
;
}
...
...
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