protected boolean skipFrame() throws JavaLayerException {
        Header h = bitstream.readFrame();
        if (h == null) {
            return false;
        }
        bitstream.closeFrame();
        return true;
    }