]> git.sesse.net Git - vlc/commitdiff
input/meta.c: Avoid by passing cache when not needed.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 15:00:49 +0000 (15:00 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 15:00:49 +0000 (15:00 +0000)
src/input/meta.c

index 58e18b6153496841fc6fc800da299b7efa77c050..93807386c44f6afd5805f2c4338511c7ad3d0824 100644 (file)
@@ -324,8 +324,6 @@ static int __input_FindArtInCache( vlc_object_t *p_obj, input_item_t *p_item )
     char * psz_filename;
     DIR * p_dir;
 
-    if( !p_item->p_meta ) return VLC_EGENERIC;
-
     psz_artist = input_item_GetArtist( p_item );
     psz_album = input_item_GetAlbum( p_item );
     psz_title = input_item_GetTitle( p_item );