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

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

Issue 2986163002: Audit of kConstants missing the const qualifier (Closed)
Patch Set: rebase + constexpr Created 3 years, 4 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/forward_error_correction_internal.cc
diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc b/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc
index 31fde0aec624915def8af9fb16a16a50d51a57ec..b411686143e2bf5ada1d1151b82d3d666385eff8 100644
--- a/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc
+++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.cc
@@ -179,7 +179,8 @@ FecMaskType PacketMaskTable::InitMaskType(FecMaskType fec_mask_type,
// Returns the pointer to the packet mask tables corresponding to type
// |fec_mask_type|.
-const uint8_t*** PacketMaskTable::InitMaskTable(FecMaskType fec_mask_type) {
+const uint8_t* const* const* PacketMaskTable::InitMaskTable(
+ FecMaskType fec_mask_type) {
switch (fec_mask_type) {
case kFecMaskRandom: {
return kPacketMaskRandomTbl;
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h ('k') | webrtc/rtc_base/rtccertificategenerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698