"It's truly an overwhelming privilege to be asked to host the Oscars," said MacFarlane in a statement. "My thoughts upon hearing the news were, one, I will do my utmost to live up to the high standards set forth by my predecessors; and two, I hope they don't find out I hosted the Charlie Sheen Roast."
The Oscars will be broadcast on ABC on Feb. 24.
The performer broke the news of his Oscar gig to his dad and posted it on YouTube.
(Copyright © 2012 USA TODAY)