void ff_set_mpeg4_time(MpegEncContext * s){

    if(s->pict_type==AV_PICTURE_TYPE_B){

        ff_mpeg4_init_direct_mv(s);

    }else{

        s->last_time_base= s->time_base;

        s->time_base= s->time/s->avctx->time_base.den;

    }

}

void ff_set_mpeg4_time(MpegEncContext * s){

    if(s->pict_type==AV_PICTURE_TYPE_B){

        ff_mpeg4_init_direct_mv(s);

    }else{

        s->last_time_base= s->time_base;

        s->time_base= s->time/s->avctx->time_base.den;

    }

}

void FUNC_0(MpegEncContext * VAR_0){

    if(VAR_0->pict_type==AV_PICTURE_TYPE_B){

        ff_mpeg4_init_direct_mv(VAR_0);

    }else{

        VAR_0->last_time_base= VAR_0->time_base;

        VAR_0->time_base= VAR_0->time/VAR_0->avctx->time_base.den;

    }

}

void FUNC_0(MpegEncContext * VAR_0){ if(VAR_0->pict_type==AV_PICTURE_TYPE_B){ ff_mpeg4_init_direct_mv(VAR_0); }else{ VAR_0->last_time_base= VAR_0->time_base; VAR_0->time_base= VAR_0->time/VAR_0->avctx->time_base.den; } }