Andre,
Could you please do a quick sanity check on the accuracy for me. I would expect it to be about the same as the old version, but checksums of wav file outputs seem to be different (suggesting differences at least as significant as bit 16). Is there an obvious reason for this ?
Oddly, the Layer III compliance test bitstream doesn't contain any short blocks, so I can't use it to check.
Comparing MAD with itself (with and without your patch), I'm finding differences of around 4.768e-07, i.e. the same to 21 bits.
The reason for this difference isn't obvious to me, but I haven't studied the patch carefully. In any case, the difference is very small.
Cheers, -rob