diff --git a/pjmedia/build/pjmedia.vcproj b/pjmedia/build/pjmedia.vcproj
index 32648e9df..7c020185e 100644
--- a/pjmedia/build/pjmedia.vcproj
+++ b/pjmedia/build/pjmedia.vcproj
@@ -10,15 +10,15 @@
-
+
@@ -60,645 +60,7 @@
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -755,7 +117,7 @@
@@ -821,7 +183,7 @@
@@ -862,6 +224,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -953,7 +373,7 @@
@@ -994,6 +414,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1085,7 +562,7 @@
@@ -1126,6 +603,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1217,7 +751,7 @@
@@ -1258,6 +792,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1349,7 +940,7 @@
@@ -1390,6 +981,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1481,7 +1129,7 @@
@@ -1522,6 +1170,358 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1613,7 +1613,7 @@
@@ -1679,7 +1679,7 @@
@@ -1745,7 +1745,7 @@
@@ -1811,7 +1811,7 @@
@@ -1877,7 +1877,7 @@
@@ -1943,7 +1943,7 @@
@@ -2009,7 +2009,7 @@
@@ -2075,7 +2075,7 @@
@@ -2141,7 +2141,7 @@
@@ -2207,7 +2207,7 @@
@@ -2273,7 +2273,7 @@
@@ -2339,7 +2339,7 @@
@@ -2405,7 +2405,7 @@
@@ -2471,7 +2471,7 @@
@@ -2537,7 +2537,7 @@
@@ -2603,7 +2603,7 @@
@@ -2669,7 +2669,7 @@
@@ -2735,7 +2735,7 @@
@@ -2801,7 +2801,7 @@
@@ -2867,7 +2867,7 @@
@@ -2933,7 +2933,7 @@
@@ -2999,7 +2999,7 @@
@@ -3065,7 +3065,7 @@
@@ -3126,15 +3126,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3144,15 +3135,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3162,15 +3144,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3180,15 +3153,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3199,7 +3163,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3256,15 +3247,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3274,15 +3256,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3292,15 +3265,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3311,7 +3275,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3376,15 +3367,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3394,15 +3376,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3412,15 +3385,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3431,7 +3395,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3488,15 +3479,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3506,15 +3488,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3524,15 +3497,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3543,7 +3507,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3600,15 +3591,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3618,15 +3600,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3636,15 +3609,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3655,7 +3619,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3716,15 +3707,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3734,15 +3716,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3752,15 +3725,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3771,7 +3735,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3844,15 +3835,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3862,15 +3844,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3880,15 +3853,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3899,7 +3863,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -3956,15 +3947,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3974,15 +3956,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -3992,15 +3965,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4011,7 +3975,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4068,15 +4059,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4086,15 +4068,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4104,15 +4077,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4123,7 +4087,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4180,15 +4171,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4198,15 +4180,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4216,15 +4189,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4235,7 +4199,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4274,15 +4278,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4292,15 +4287,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4310,15 +4296,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4328,15 +4305,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4347,7 +4315,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4404,15 +4399,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4422,15 +4408,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4440,15 +4417,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4459,7 +4427,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4528,15 +4523,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4546,15 +4532,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4564,15 +4541,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4583,7 +4551,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4640,15 +4635,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4658,15 +4644,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4676,15 +4653,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4695,7 +4663,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4752,15 +4747,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4770,15 +4756,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4788,15 +4765,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4807,7 +4775,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4864,15 +4859,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4882,15 +4868,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4900,15 +4877,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4919,7 +4887,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -4976,15 +4971,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -4994,15 +4980,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5012,15 +4989,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5031,7 +4999,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5088,15 +5083,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5106,15 +5092,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5124,15 +5101,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5143,7 +5111,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5200,15 +5195,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5218,15 +5204,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5236,15 +5213,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5255,7 +5223,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5312,15 +5307,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5330,15 +5316,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5348,15 +5325,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5367,7 +5335,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5428,15 +5423,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5446,15 +5432,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5464,15 +5441,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5483,7 +5451,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5548,15 +5543,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5566,15 +5552,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5584,15 +5561,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5603,7 +5571,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5664,15 +5659,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5682,15 +5668,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5700,15 +5677,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5719,7 +5687,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5776,15 +5771,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5794,15 +5780,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5812,15 +5789,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5831,7 +5799,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -5888,15 +5883,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5906,15 +5892,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5924,15 +5901,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -5943,7 +5911,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6000,15 +5995,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6018,15 +6004,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6036,15 +6013,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6055,7 +6023,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6112,15 +6107,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6130,15 +6116,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6148,15 +6125,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6167,7 +6135,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6228,15 +6223,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6246,15 +6232,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6264,15 +6241,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6283,7 +6251,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6340,15 +6335,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6358,15 +6344,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6376,15 +6353,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6395,7 +6363,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6456,15 +6451,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6474,15 +6460,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6492,15 +6469,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6511,7 +6479,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6576,15 +6571,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6594,15 +6580,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6612,15 +6589,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6631,7 +6599,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6704,15 +6699,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6722,15 +6708,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6740,15 +6717,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6759,7 +6727,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6848,15 +6843,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6866,15 +6852,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6884,15 +6861,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6903,7 +6871,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -6960,15 +6955,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6978,15 +6964,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -6996,15 +6973,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7015,7 +6983,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -7072,15 +7067,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7090,15 +7076,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7108,15 +7085,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7127,7 +7095,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
@@ -7184,15 +7179,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7202,15 +7188,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7220,15 +7197,6 @@
PreprocessorDefinitions=""
/>
-
-
-
@@ -7239,7 +7207,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/third_party/build/webrtc/notes.txt b/third_party/build/webrtc/notes.txt
index dc47aeba1..393753fc7 100644
--- a/third_party/build/webrtc/notes.txt
+++ b/third_party/build/webrtc/notes.txt
@@ -1,2 +1,8 @@
Notes:
* Source code for webrtc from https://chromium.googlesource.com/external/webrtc circa Oct 2015.
+
+Modification to original source to build on VS2005 which don't support C99 syntax
+(declare all variables at the beginning of a scope block).
+- modules\audio_processing\aec\aec_core.c
+- modules\audio_processing\ns\ns_core.c
+- modules\audio_processing\ns\nsx_core.c
\ No newline at end of file
diff --git a/third_party/webrtc/src/webrtc/modules/audio_processing/aec/aec_core.c b/third_party/webrtc/src/webrtc/modules/audio_processing/aec/aec_core.c
index b2162ac0b..9d54b62fc 100644
--- a/third_party/webrtc/src/webrtc/modules/audio_processing/aec/aec_core.c
+++ b/third_party/webrtc/src/webrtc/modules/audio_processing/aec/aec_core.c
@@ -1201,12 +1201,12 @@ static void ProcessBlock(AecCore* aec) {
float output[PART_LEN];
float outputH[NUM_HIGH_BANDS_MAX][PART_LEN];
float* outputH_ptr[NUM_HIGH_BANDS_MAX];
+ float* xf_ptr = NULL;
+
for (i = 0; i < NUM_HIGH_BANDS_MAX; ++i) {
outputH_ptr[i] = outputH[i];
}
- float* xf_ptr = NULL;
-
// Concatenate old and new nearend blocks.
for (i = 0; i < aec->num_bands - 1; ++i) {
WebRtc_ReadBuffer(aec->nearFrBufH[i],
diff --git a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
index 1d6091400..f3e6a1053 100644
--- a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
+++ b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
@@ -1204,14 +1204,14 @@ void WebRtcNs_ProcessCore(NoiseSuppressionC* self,
float gainTimeDomainHB = 1.0;
float avgProbSpeechHB, avgProbSpeechHBTmp, avgFilterGainHB, gainModHB;
float sumMagnAnalyze, sumMagnProcess;
+ const float* const* speechFrameHB = NULL;
+ float* const* outFrameHB = NULL;
+ size_t num_high_bands = 0;
// Check that initiation has been done.
assert(self->initFlag == 1);
assert((num_bands - 1) <= NUM_HIGH_BANDS_MAX);
- const float* const* speechFrameHB = NULL;
- float* const* outFrameHB = NULL;
- size_t num_high_bands = 0;
if (num_bands > 1) {
speechFrameHB = &speechFrame[1];
outFrameHB = &outFrame[1];
diff --git a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c
index ed6125aa7..7e2a94e03 100644
--- a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c
+++ b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c
@@ -1537,6 +1537,9 @@ void WebRtcNsx_ProcessCore(NoiseSuppressionFixedC* inst,
int norm32no1, norm32no2;
int flag, sign;
int q_domain_to_use = 0;
+ const short* const* speechFrameHB = NULL;
+ short* const* outFrameHB = NULL;
+ size_t num_high_bands = 0;
// Code for ARMv7-Neon platform assumes the following:
assert(inst->anaLen > 0);
@@ -1558,9 +1561,6 @@ void WebRtcNsx_ProcessCore(NoiseSuppressionFixedC* inst,
assert(inst->initFlag == 1);
assert((num_bands - 1) <= NUM_HIGH_BANDS_MAX);
- const short* const* speechFrameHB = NULL;
- short* const* outFrameHB = NULL;
- size_t num_high_bands = 0;
if (num_bands > 1) {
speechFrameHB = &speechFrame[1];
outFrameHB = &outFrame[1];