Switzerland equalised early in the second half from another set-piece, Ricardo Rodríguez's corner kick headed in by half-time substitute Admir Mehmedi.
A Swiss breakaway started in their own penalty area when Valon Behrami won the ball, and finished by Seferovic converting Rodríguez's cross.
Benzema's shot rebounded off the post and then hit Valladares, and despite his effort to scoop it clear, the ball was indicated by goal-line technology to have crossed the line and the goal was awarded.
The initial flash of "NO GOAL" drew boos from fans, caused a commotion among the managers and players on the sideline,[11] and led to confusion even from the BBC's experienced television commentator Jonathan Pearce, who required his colleague Martin Keown to explain the incident to him.
[15] Man of the Match: Karim Benzema (France) Assistant referees: Emerson de Carvalho (Brazil) Marcelo Van Gasse (Brazil) Fourth official: Peter O'Leary (New Zealand) Fifth official: Jan-Hendrik Hintz (New Zealand) The two teams had met in 36 previous matches, including in the 2006 FIFA World Cup group stage, a 0–0 draw.
Switzerland scored two late consolation goals, from a 35-yard free kick by substitute Blerim Džemaili, and a volley by Granit Xhaka after a pass by Gökhan Inler.
[24] Ecuador, which needed at least a point to stay alive in the competition, equalised three minutes later when Juan Paredes's shot was deflected and Enner Valencia turned the ball in at the far post from close range.
[25] Costly's goal snapped Honduras's 511-minute World Cup scoreless streak stretching back to 1982, second place at the time to the record of 517 minutes between 1930 and 1990 held by Bolivia.
[26] Enner Valencia's brace gave him three total goals in the tournament, and he joined Agustín Delgado as the country's joint top scorer in the World Cup.
[33] As Switzerland defeated Honduras in the other match played at the same time, Ecuador was eliminated, thus being the only team in the CONMEBOL group to fail to advance to the Round of 16.