Is This Wood Still Good? (Water Stained or Rotten)
It looks like water stains. Take a screwdriver and press it into the surface especially in the groves. If the wood is rotten the screwdriver will dig in. If the wood is sound it will just leave a mark. This is how home inspectors test around suspected areas for rot.