matroskadec: check h in generic rm packet shuffler