Index: remoting/codec/audio_decoder_opus.cc |
diff --git a/remoting/codec/audio_decoder_opus.cc b/remoting/codec/audio_decoder_opus.cc |
index e7bd5ace2040bb998930ea19e1ec692f4f186e32..0bcabcc5653d40227038a90c60068c2e5e30630c 100644 |
--- a/remoting/codec/audio_decoder_opus.cc |
+++ b/remoting/codec/audio_decoder_opus.cc |
@@ -4,6 +4,8 @@ |
#include "remoting/codec/audio_decoder_opus.h" |
+#include <stdint.h> |
+ |
#include "base/logging.h" |
#include "base/stl_util.h" |
#include "base/time/time.h" |
@@ -106,8 +108,8 @@ scoped_ptr<AudioPacket> AudioDecoderOpus::Decode( |
int buffer_pos = 0; |
for (int i = 0; i < packet->data_size(); ++i) { |
- int16* pcm_buffer = |
- reinterpret_cast<int16*>(string_as_array(decoded_data) + buffer_pos); |
+ int16_t* pcm_buffer = |
+ reinterpret_cast<int16_t*>(string_as_array(decoded_data) + buffer_pos); |
CHECK_LE(buffer_pos + max_frame_bytes, |
static_cast<int>(decoded_data->size())); |
std::string* frame = packet->mutable_data(i); |