Index: talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
diff --git a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
index f859410acb011ee137387610e814d1fdf71c268d..1f6313119e8d0d5b2726a75f38417102b5887147 100644 |
--- a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
+++ b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc |
@@ -519,10 +519,10 @@ int32_t MediaCodecVideoDecoder::DecodeOnCodecThread( |
// Copy encoded data to Java ByteBuffer. |
jobject j_input_buffer = input_buffers_[j_input_buffer_index]; |
- uint8* buffer = |
- reinterpret_cast<uint8*>(jni->GetDirectBufferAddress(j_input_buffer)); |
+ uint8_t* buffer = |
+ reinterpret_cast<uint8_t*>(jni->GetDirectBufferAddress(j_input_buffer)); |
RTC_CHECK(buffer) << "Indirect buffer??"; |
- int64 buffer_capacity = jni->GetDirectBufferCapacity(j_input_buffer); |
+ int64_t buffer_capacity = jni->GetDirectBufferCapacity(j_input_buffer); |
if (CheckException(jni) || buffer_capacity < inputImage._length) { |
ALOGE("Input frame size %d is bigger than buffer size %d.", |
inputImage._length, buffer_capacity); |