Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
79d9aaf6
Commit
79d9aaf6
authored
Aug 18, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meta.c: Fix an interversion in the exit condition.
parent
a9e4de11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/input/meta.c
src/input/meta.c
+4
-1
No files found.
src/input/meta.c
View file @
79d9aaf6
...
@@ -119,6 +119,9 @@ int input_ArtFind( playlist_t *p_playlist, input_item_t *p_item )
...
@@ -119,6 +119,9 @@ int input_ArtFind( playlist_t *p_playlist, input_item_t *p_item )
{
{
int
i_ret
=
VLC_EGENERIC
;
int
i_ret
=
VLC_EGENERIC
;
module_t
*
p_module
;
module_t
*
p_module
;
char
*
psz_album
=
input_item_GetAlbum
(
p_item
);
char
*
psz_artist
=
input_item_GetArtist
(
p_item
);
char
*
psz_title
=
input_item_GetAlbum
(
p_item
);
if
(
!
p_item
->
p_meta
)
if
(
!
p_item
->
p_meta
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -334,7 +337,7 @@ int input_DownloadAndCacheArt( playlist_t *p_playlist, input_item_t *p_item )
...
@@ -334,7 +337,7 @@ int input_DownloadAndCacheArt( playlist_t *p_playlist, input_item_t *p_item )
else
if
(
p_item
->
psz_name
)
else
if
(
p_item
->
psz_name
)
psz_title
=
ArtCacheCreateString
(
p_item
->
psz_name
);
psz_title
=
ArtCacheCreateString
(
p_item
->
psz_name
);
if
(
(
!
psz_title
||
!
psz_album
)
&&
!
psz_artist
)
if
(
!
psz_title
||
(
!
psz_album
&&
!
psz_artist
)
)
{
{
free
(
psz_title
);
free
(
psz_title
);
free
(
psz_album
);
free
(
psz_album
);
...
...
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