Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1007)

Unified Diff: webrtc/modules/rtp_rtcp/source/flexfec_sender_impl.cc

Issue 2455963003: Simplify SetFecParameters signature. (Closed)
Patch Set: Return type int32_t replaced by bool and void. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/flexfec_sender_impl.cc
diff --git a/webrtc/modules/rtp_rtcp/source/flexfec_sender_impl.cc b/webrtc/modules/rtp_rtcp/source/flexfec_sender_impl.cc
index a186921154a4fc57507aed921f13be798c762464..408fa272f1f108b7e34ffc71a7de70f4859237eb 100644
--- a/webrtc/modules/rtp_rtcp/source/flexfec_sender_impl.cc
+++ b/webrtc/modules/rtp_rtcp/source/flexfec_sender_impl.cc
@@ -101,7 +101,7 @@ FlexfecSenderImpl::~FlexfecSenderImpl() = default;
// AddRtpPacketAndGenerateFec, and FecAvailable.
void FlexfecSenderImpl::SetFecParameters(const FecProtectionParams& params) {
RTC_DCHECK_CALLED_SEQUENTIALLY(&sequence_checker_);
- ulpfec_generator_.SetFecParameters(&params);
+ ulpfec_generator_.SetFecParameters(params);
}
bool FlexfecSenderImpl::AddRtpPacketAndGenerateFec(

Powered by Google App Engine
This is Rietveld 408576698