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

Unified Diff: webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h

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/fec_private_tables_bursty.h
diff --git a/webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h b/webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h
index 0b39908bb1d5da5362ccb6982fc9a1339f18c462..1fce36a584bb89bb351f5d515032ef315a52343b 100644
--- a/webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h
+++ b/webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h
@@ -628,29 +628,29 @@ const uint8_t kMaskBursty12_12[24] = {
0x00, 0x30
};
-const uint8_t* kPacketMaskBursty1[1] = {
+const uint8_t* const kPacketMaskBursty1[1] = {
kMaskBursty1_1
};
-const uint8_t* kPacketMaskBursty2[2] = {
+const uint8_t* const kPacketMaskBursty2[2] = {
kMaskBursty2_1,
kMaskBursty2_2
};
-const uint8_t* kPacketMaskBursty3[3] = {
+const uint8_t* const kPacketMaskBursty3[3] = {
kMaskBursty3_1,
kMaskBursty3_2,
kMaskBursty3_3
};
-const uint8_t* kPacketMaskBursty4[4] = {
+const uint8_t* const kPacketMaskBursty4[4] = {
kMaskBursty4_1,
kMaskBursty4_2,
kMaskBursty4_3,
kMaskBursty4_4
};
-const uint8_t* kPacketMaskBursty5[5] = {
+const uint8_t* const kPacketMaskBursty5[5] = {
kMaskBursty5_1,
kMaskBursty5_2,
kMaskBursty5_3,
@@ -658,7 +658,7 @@ const uint8_t* kPacketMaskBursty5[5] = {
kMaskBursty5_5
};
-const uint8_t* kPacketMaskBursty6[6] = {
+const uint8_t* const kPacketMaskBursty6[6] = {
kMaskBursty6_1,
kMaskBursty6_2,
kMaskBursty6_3,
@@ -667,7 +667,7 @@ const uint8_t* kPacketMaskBursty6[6] = {
kMaskBursty6_6
};
-const uint8_t* kPacketMaskBursty7[7] = {
+const uint8_t* const kPacketMaskBursty7[7] = {
kMaskBursty7_1,
kMaskBursty7_2,
kMaskBursty7_3,
@@ -677,7 +677,7 @@ const uint8_t* kPacketMaskBursty7[7] = {
kMaskBursty7_7
};
-const uint8_t* kPacketMaskBursty8[8] = {
+const uint8_t* const kPacketMaskBursty8[8] = {
kMaskBursty8_1,
kMaskBursty8_2,
kMaskBursty8_3,
@@ -688,7 +688,7 @@ const uint8_t* kPacketMaskBursty8[8] = {
kMaskBursty8_8
};
-const uint8_t* kPacketMaskBursty9[9] = {
+const uint8_t* const kPacketMaskBursty9[9] = {
kMaskBursty9_1,
kMaskBursty9_2,
kMaskBursty9_3,
@@ -700,7 +700,7 @@ const uint8_t* kPacketMaskBursty9[9] = {
kMaskBursty9_9
};
-const uint8_t* kPacketMaskBursty10[10] = {
+const uint8_t* const kPacketMaskBursty10[10] = {
kMaskBursty10_1,
kMaskBursty10_2,
kMaskBursty10_3,
@@ -713,7 +713,7 @@ const uint8_t* kPacketMaskBursty10[10] = {
kMaskBursty10_10
};
-const uint8_t* kPacketMaskBursty11[11] = {
+const uint8_t* const kPacketMaskBursty11[11] = {
kMaskBursty11_1,
kMaskBursty11_2,
kMaskBursty11_3,
@@ -727,7 +727,7 @@ const uint8_t* kPacketMaskBursty11[11] = {
kMaskBursty11_11
};
-const uint8_t* kPacketMaskBursty12[12] = {
+const uint8_t* const kPacketMaskBursty12[12] = {
kMaskBursty12_1,
kMaskBursty12_2,
kMaskBursty12_3,
@@ -742,7 +742,7 @@ const uint8_t* kPacketMaskBursty12[12] = {
kMaskBursty12_12
};
-const uint8_t** kPacketMaskBurstyTbl[12] = {
+const uint8_t* const* const kPacketMaskBurstyTbl[12] = {
kPacketMaskBursty1,
kPacketMaskBursty2,
kPacketMaskBursty3,

Powered by Google App Engine
This is Rietveld 408576698