Continuity equation and ODE flows with non-smooth velocity