From 92ff4b0d039099da0e93d2c94ce895418c61da5e Mon Sep 17 00:00:00 2001 From: Dan Minor Date: Wed, 13 Feb 2019 13:05:20 -0500 Subject: [PATCH] Bug 1524335: Make InOrderPacket take last_sequence_number by reference; r=dmajor Differential Revision: https://phabricator.services.mozilla.com/D19694 --HG-- extra : rebase_source : ac4ef8f11e7b1b4975d1cd2e4c8985c6d040703d extra : amend_source : 2440c041736e2408be3a7a670f2f69b1b6ab5215 --- .../trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc b/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc index 02bf44931f0f..0f084c3111be 100644 --- a/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc +++ b/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc @@ -29,7 +29,7 @@ namespace webrtc { namespace { -bool InOrderPacket(rtc::Optional latest_sequence_number, +bool InOrderPacket(const rtc::Optional& latest_sequence_number, uint16_t current_sequence_number) { if (!latest_sequence_number) return true;