We extend Vedral and Plenios theorem (theorem 3 in Phys. Rev. A 57, 1619) to a more general case, and obtain the relative entropy of entanglement for a class of mixed states, this result can also follow from Rains theorem 9 in Phys. Rev. A 60, 179.