| Index: webrtc/modules/audio_coding/neteq/merge.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/merge.cc b/webrtc/modules/audio_coding/neteq/merge.cc
|
| index b6fb2d8a26768ae13693a48428fe37ef6f3b6a4e..9aed91f7887c9d005a1ec89740024205d7b264a2 100644
|
| --- a/webrtc/modules/audio_coding/neteq/merge.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/merge.cc
|
| @@ -14,8 +14,8 @@
|
| #include <string.h> // memmove, memcpy, memset, size_t
|
|
|
| #include <algorithm> // min, max
|
| +#include <memory>
|
|
|
| -#include "webrtc/base/scoped_ptr.h"
|
| #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
|
| #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h"
|
| #include "webrtc/modules/audio_coding/neteq/dsp_helper.h"
|
| @@ -327,7 +327,7 @@ size_t Merge::CorrelateAndPeakSearch(int16_t expanded_max, int16_t input_max,
|
| // Normalize correlation to 14 bits and copy to a 16-bit array.
|
| const size_t pad_length = expand_->overlap_length() - 1;
|
| const size_t correlation_buffer_size = 2 * pad_length + kMaxCorrelationLength;
|
| - rtc::scoped_ptr<int16_t[]> correlation16(
|
| + std::unique_ptr<int16_t[]> correlation16(
|
| new int16_t[correlation_buffer_size]);
|
| memset(correlation16.get(), 0, correlation_buffer_size * sizeof(int16_t));
|
| int16_t* correlation_ptr = &correlation16[pad_length];
|
|
|