IIRC: The food is not subject to rot while it is in the market. If you put up 100 bushels, the buyer will get 100 bushels.
However, if it goes unsold, it is subject to cumulative rot before it is placed back in the granaries. If you put up 100 bushels and it goes unsold, you may get back, say, 80 bushels.