alsdec: validate time diff index