]> git.sesse.net Git - vlc/commitdiff
oneliner to fix psz_arturl check in album_art stuff
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 16 Oct 2007 16:44:55 +0000 (16:44 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 16 Oct 2007 16:44:55 +0000 (16:44 +0000)
src/playlist/engine.c

index 65eaa2b618dd7c05d49f3e9d6b4a4be9cc43a283..f3cfdb12a16203522191c53e57ce1b41d832e1f2 100644 (file)
@@ -534,7 +534,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
             }
             /* We already have all needed meta, but we need art right now */
             else if( p_playlist->p_fetcher->i_art_policy == ALBUM_ART_ALL &&
-                     !psz_arturl ? 1 :
+                     psz_arturl &&
                         strncmp( psz_arturl, "file://", strlen("file://") ) )
             {
                 preparse_item_t p;