Sour Smelling Poop???

Mabeline

4 Month old son started having smelly and darker color poop. It smells sour. He's also not pooping as much as he used to. Anyone know what this is? Of course it has to be something I ate but is this a bad reaction? I'm calling his pediatrician tomorrow morning.