[vlc-commits] playlist: cosmetics
Rémi Denis-Courmont
git at videolan.org
Mon Nov 26 20:13:12 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 26 21:07:08 2012 +0200| [02298603d3605080b31ee8e5be136bc6d42c773e] | committer: Rémi Denis-Courmont
playlist: cosmetics
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02298603d3605080b31ee8e5be136bc6d42c773e
---
src/playlist/thread.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index 46de2de..afe34cc 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -255,14 +255,10 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
/* TODO store art policy in playlist private data */
if( var_GetInteger( p_playlist, "album-art" ) == ALBUM_ART_WHEN_PLAYED )
{
- bool b_has_art;
-
- char *psz_arturl, *psz_name;
- psz_arturl = input_item_GetArtURL( p_input );
- psz_name = input_item_GetName( p_input );
-
+ char *psz_arturl = input_item_GetArtURL( p_input );
+ char *psz_name = input_item_GetName( p_input );
/* p_input->p_meta should not be null after a successful CreateThread */
- b_has_art = !EMPTY_STR( psz_arturl );
+ bool b_has_art = !EMPTY_STR( psz_arturl );
if( !b_has_art || strncmp( psz_arturl, "attachment://", 13 ) )
{
More information about the vlc-commits
mailing list