/* called whenever there is a large jump in sequence numbers, or when they get out of probation...  */
static void rtp_init_sequence(RTPStatistics *s, uint16_t seq)
/* called whenever there is a large jump in sequence numbers, or when they get out of probation...  */
static void rtp_init_sequence(RTPStatistics *s, uint16_t seq)
{
    s->max_seq= seq;
    s->cycles= 0;
    s->base_seq= seq -1;
    s->bad_seq= RTP_SEQ_MOD + 1;
    s->received= 0;
    s->expected_prior= 0;
    s->received_prior= 0;
    s->jitter= 0;
    s->transit= 0;
}