The only user of that function is only interested in the type of the first rtcp message in the packet, which can be extracted in a simpler way Bug: None Change-Id: I96aeb8ed66099f94d506aa7d8d0d07378f6c952e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226543 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34515}