Avalanche 5, Flames 4: Matt Duchene scored on a rebound with 9:08 left and captain Gabriel Landeskog recorded his first career three-point performance as host Colorado erased a three-goal deficit to snap a three-game winless streak.Landeskog and defenseman Ryan O'Byrne also scored while David Jones and Paul Stastny had a goal and an assist apiece for the Avalanche, who netted three unanswered goals in the third period to beat the Flames for the fourth straight time. Duchene, who missed Tuesday's loss at San Jose with a groin injury, also had an assist.Captain Jarome Iginla scored twice, defenseman Jay Bouwmeester and Mike Cammalleri also tallied and Jiri Hudler registered three assists for Calgary. The Flames didn't get a shot on goal during two power plays in the final 7:12 and pulled goaltender Joey MacDonald with 1:30 to go but could not get the equalizer.Trailing 3-0, Colorado came to life in the second period. O'Byrne walked to the top of the left faceoff circle and blasted a shot past MacDonald at 5:11 before Jones won the puck along the boards and eventually knocked in the rebound of Landeskog's shot 4:43 later.Iginla's second goal came on his own rebound during a power play at 13:16 of the second, giving Calgary a 4-2 lead. Landeskog got Colorado within one when he drove to the net and poked the puck between MacDonald's pads 23 seconds into the third period, and Stastny tied it when he redirected the puck with his skate into the net - and survived a video review - at 6:34.GAME NOTEBOOK: Before the game, Calgary signed restricted free agent C Ryan O'Reilly to an offer sheet worth a reported $10 million for two years. With the Flames ahead 2-0 in the first period, it was announced Colorado matched the offer. O'Reilly has not played this season as neither he nor the Avalanche would budge during contract negotiations. ... O'Byrne's goal was only the second by a Colorado defenseman this season. ... Iginla has 521 career goals and is 34th on the all-time list, trailing Pat Verbeek by one and Bryan Trottier by three. He also tied former Flames star Theo Fleury for 59th on the points list with 1,088.