Justin Smith signed a two-year contract extension with the San Francisco 49ers on Wednesday. The defensive tackle admitted he might retire before that contract is up.