Delete unused argument first_payload_byte.
This was left-over after cl https://webrtc-review.googlesource.com/c/src/+/61500. Bug: webrtc:8995 Change-Id: Ib5ad853d67d6fc8caf72cc6d76c67b2958e4ff63 Reviewed-on: https://webrtc-review.googlesource.com/78520 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23371}
This commit is contained in:
@ -166,9 +166,7 @@ bool RtpReceiverImpl::IncomingRtpPacket(const RTPHeader& rtp_header,
|
||||
// Trigger our callbacks.
|
||||
CheckSSRCChanged(rtp_header);
|
||||
|
||||
int8_t first_payload_byte = payload_length > 0 ? payload[0] : 0;
|
||||
|
||||
if (CheckPayloadChanged(rtp_header, first_payload_byte,
|
||||
if (CheckPayloadChanged(rtp_header,
|
||||
&payload_specific) == -1) {
|
||||
if (payload_length == 0) {
|
||||
// OK, keep-alive packet.
|
||||
@ -301,7 +299,6 @@ void RtpReceiverImpl::CheckSSRCChanged(const RTPHeader& rtp_header) {
|
||||
// media_specific interface (such as CheckPayloadChange, possibly get/set
|
||||
// last known payload).
|
||||
int32_t RtpReceiverImpl::CheckPayloadChanged(const RTPHeader& rtp_header,
|
||||
const int8_t first_payload_byte,
|
||||
PayloadUnion* specific_payload) {
|
||||
int8_t payload_type = rtp_header.payloadType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user