Visible crew/equipment: After the scene where K.C. turns around to continue to chase the suspect, who just fell from hiding under the bridge, Gavilan is shown driving a car. When Gavilan passes a set of windows, the reflection can be seen of a crew member sitting in the back seat and a mounted camera on the side of the car.
Factual error: The Los Angeles Police Department no longer has an Internal Affairs division. The division is known as the Bureau of Professional Standards and is subject to civilian oversight - meaning the roughshod treatment Gavilan was receiving at their hands would have been checked at minimum by a civilian review board. That having been said, Gavilan's behavior should have gotten him in trouble regardless of whether or not someone in the department was out to get him.