Use backticks not vertical bars to denote variables in comments for /modules/rtp_rtcp
Bug: webrtc:12338 Change-Id: I52eb3b6675c4705e22f51b70799ed6139a3b46bc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227164 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34686}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
7f9ab1aa1b
commit
913cfa76ec
@ -157,10 +157,10 @@ bool UlpfecReceiverImpl::AddReceivedRedPacket(
|
||||
int32_t UlpfecReceiverImpl::ProcessReceivedFec() {
|
||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
||||
|
||||
// If we iterate over |received_packets_| and it contains a packet that cause
|
||||
// If we iterate over `received_packets_` and it contains a packet that cause
|
||||
// us to recurse back to this function (for example a RED packet encapsulating
|
||||
// a RED packet), then we will recurse forever. To avoid this we swap
|
||||
// |received_packets_| with an empty vector so that the next recursive call
|
||||
// `received_packets_` with an empty vector so that the next recursive call
|
||||
// wont iterate over the same packet again. This also solves the problem of
|
||||
// not modifying the vector we are currently iterating over (packets are added
|
||||
// in AddReceivedRedPacket).
|
||||
|
Reference in New Issue
Block a user