Index: remoting/codec/audio_encoder_opus.h |
diff --git a/remoting/codec/audio_encoder_opus.h b/remoting/codec/audio_encoder_opus.h |
index 7f610d4bd1e4e3ff4299362d94c7014c2eac8666..6799836d6bc0ed0bf75003e42c781bc8dbbd8315 100644 |
--- a/remoting/codec/audio_encoder_opus.h |
+++ b/remoting/codec/audio_encoder_opus.h |
@@ -43,7 +43,7 @@ class AudioEncoderOpus : public AudioEncoder { |
int frame_size_; |
scoped_ptr<media::MultiChannelResampler> resampler_; |
- scoped_array<char> resample_buffer_; |
+ scoped_ptr<char[]> resample_buffer_; |
scoped_ptr<media::AudioBus> resampler_bus_; |
// Used to pass packet to the FetchBytesToResampler() callback. |
@@ -52,7 +52,7 @@ class AudioEncoderOpus : public AudioEncoder { |
int resampling_data_pos_; |
// Left-over unencoded samples from the previous AudioPacket. |
- scoped_array<int16> leftover_buffer_; |
+ scoped_ptr<int16[]> leftover_buffer_; |
int leftover_buffer_size_; |
int leftover_samples_; |