Ferreira, who replaced former Real Madrid midfielder Lucas Silva just after the hour mark, struck in the 92nd minute with a glancing header after an Alisson de Freitas corner.
Henan missed the chance to equalize in the 64th minute when Fernando Karanga's spot-kick was blocked by Guangzhou Evergrande goalkeeper Liu Dianzuo.
The 33-year-old leaves as the third highest scorer in Barcelona's history with 198 goals, but was not wanted by new Barca coach Ronald Koeman, while the club was also looking to lower its wage bill.
Flick admitted, "We're not yet at our highest level." At the same time, the coach is aware that they possibly won't reach it this season, especially when competitions are in the final stages. Enditem
Cazares, capped 21 times for Ecuador, has made 205 appearances and scored 41 goals for Atletico Mineiro since joining the Belo Horizonte outfit from Argentina's Banfield in 2016.
Earlier this month, Costa Rican team officials said the match would not be possible if the country's health ministry did not provide an exception to a mandatory 14-day quarantine for all travellers arriving from abroad.
All three are asymptomatic.
"It's really a tough and close match," said spiker Zhang.
The following fixtures are scheduled for Saturday: Borussia Monchengladbach host Union Berlin, Bayer Leverkusen face Leipzig, Mainz meet newly-promoted Stuttgart, Augsburg clash with Borussia Dortmund, newly-promoted Arminia Bielefeld take on Cologne, and Schalke face Werder Bremen. Enditem
Brazil's Santos also moved within sight of a berth in the next round with a 2-1 win over 10-man Delfin in the Ecuadorian port city of Manta.
The competition calendar will be confirmed, with the first proposal including 228 competition sessions across 19 matchdays. Based on the current plan, mixed doubles curling will be the first event two days before the opening ceremony while the women's 30km cross-country skiing wraps up the matches in the afternoon of the closing day.