With the score tied 1-1, O'Reilly scored on the rebound of a Gabriel Landeskog shot 37 seconds into the final frame and the Avalanche went on to log their fourth straight win.
Semyon Varlamov made 27 saves to earn the victory.
The Ducks remained six points out of a playoff berth in the West with only their third loss in nine contests.
Bobby Ryan scored and Jonas Hiller yielded four goals on 23 shots for Anaheim.
Members of Congress to keep receiving porn magazine
Rosie O'Donnell unveils nearly 50-pound weight loss