This is where it gets interesting.
Okie State and Gundy were in a spat recently about his contract and it ended in a restructured deal: both salary and buyout. He lost a million a year as I recall and also lost that "automatic rollover" on his original deal. That original deal, if he was fired for some wild reason, would have paid him five million less than the new deal.
So, in the end, it looks like he lost a million or so in salary but made another five million in the deal.