Index: webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc |
diff --git a/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc b/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc |
index 760c5e59b770a9486d9665fb9fbeb00276690fb3..0d3d1835377c7cff4812ebe3d57d6e8c673f8f13 100644 |
--- a/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc |
+++ b/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc |
@@ -55,7 +55,7 @@ void ProduceDecimatedSinusoidalOutputPower(int sample_rate_hz, |
decimator.Decimate( |
rtc::ArrayView<const float>(&input[k * kBlockSize], kBlockSize), |
- &sub_block); |
+ sub_block); |
std::copy(sub_block.begin(), sub_block.end(), |
output.begin() + k * kSubBlockSize); |
@@ -112,7 +112,7 @@ TEST(DecimatorBy4, WrongInputSize) { |
DecimatorBy4 decimator; |
std::vector<float> x(std::vector<float>(kBlockSize - 1, 0.f)); |
std::array<float, kSubBlockSize> x_downsampled; |
- EXPECT_DEATH(decimator.Decimate(x, &x_downsampled), ""); |
+ EXPECT_DEATH(decimator.Decimate(x, x_downsampled), ""); |
} |
// Verifies the check for non-null output parameter. |