Commit a4b93717 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input/meta.c: Make sure we don't return VLC_SUCCESS in __input_FindArtInCache...

input/meta.c: Make sure we don't return VLC_SUCCESS in __input_FindArtInCache when no album art was found.
parent 9bb26675
......@@ -359,13 +359,15 @@ static int __input_FindArtInCache( vlc_object_t *p_obj, input_item_t *p_item )
psz_dirpath, psz_filename );
input_item_SetArtURL( p_item, psz_filepath );
free( psz_filename );
break;
closedir( p_dir );
return VLC_SUCCESS;
}
free( psz_filename );
}
/* Not found */
closedir( p_dir );
return (psz_filename == NULL) ? VLC_EGENERIC : VLC_SUCCESS;
return VLC_EGENERIC;
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment