The role of final-state interactions in the p̄p→π+π− annihilation process