The San Francisco 49ers kept their NFL playoff hopes alive with a 19-17 victory over the Seattle Seahawks on Sunday.