}
static void next_seq_state( stream_state_s *ss ){	++(ss->i);	++(ss->g);	++(ss->b);		/* Are we starting a new B group */	if( ss->b >= ss->bigrp_length )	{		ss->b = 0;		/* Does this need to be a short B group to make the GOP length		   come out right ? */		if( ss->bs_short != 0 && ss->g > (int)ss->next_b_drop )		{			ss->bigrp_length = ctl->M - 1;			if( ss->bs_short )				ss->next_b_drop += ((double)ss->gop_length) / (double)(ss->bs_short+1) ;		}		else			ss->bigrp_length = ctl->M;	}    /* Are we starting a new GOP? */	if( ss->g == ss->gop_length )	{		gop_start(ss);	}}