People with heart abnormalities are at an increased risk of developing endocarditis.