wmadec: check nb_frames