Earnings were hurt by weak results across TV and film groups of the company, whose prominent executive chairman, Sumner Redstone, recently resigned.