alsdec: check block length