Viacom has been buffeted by ratings declines at well-known cable networks like MTV, Nickelodeon and Comedy Central. The company recently completed a massive restructuring involving dozens of layoffs of senior executives and triggering a charge of $784 million.