if(s->pict_type == P_TYPE) { return; } else {
void msmpeg4_encode_ext_header(MpegEncContext * s){    if(s->pict_type == P_TYPE)    {	return; // P-Frames dont seem to have them and not even a 0 bit    }    else    {        s->flipflop_rounding=1;        s->bitrate= 910;	put_bits(&s->pb, 1, 1); // ext header indicator	put_bits(&s->pb, 4, 7); // ?	put_bits(&s->pb, 11, s->bitrate);	put_bits(&s->pb, 1, s->flipflop_rounding);    }}