ducatividdec: prevent overread when all buffer slots are used