s->bit_rate= get_bits(&s->gb, 11);
s->bit_rate= get_bits(&s->gb, 11)*1024;
int msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size){    int left= buf_size*8 - get_bits_count(&s->gb);    int length= s->msmpeg4_version>=3 ? 17 : 16;    /* the alt_bitstream reader could read over the end so we need to check it */    if(left>=length && left<length+8)    {        int fps;        fps= get_bits(&s->gb, 5);        s->bit_rate= get_bits(&s->gb, 11);        if(s->msmpeg4_version>=3)            s->flipflop_rounding= get_bits1(&s->gb);        else            s->flipflop_rounding= 0;//        printf("fps:%2d bps:%2d roundingType:%1d\n", fps, s->bit_rate, s->flipflop_rounding);    }    else if(left<length+8)    {        s->flipflop_rounding= 0;        printf("ext header missing, %d left\n", left);    }    else    {        fprintf(stderr, "I frame too long, ignoring ext header\n");    }    return 0;}