Looking at the pics there is a possibility of dry rot but best to get it checked out by a fungal decay specialist - either way the source of the moisture into the building needs to be stopped otherwise the problems will come back.
For more info on Dry rot I found this video podcast useful: