Android JNI: Disallow automatic conversion from long to jint
Start using JniIntWrapper from Chromium instead of bypassing it in jni_generator_helper.h. Bug: webrtc:8278 Change-Id: I20313e1e610b05f79c210e823ab50cfb2073674e Reviewed-on: https://webrtc-review.googlesource.com/74841 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23230}
This commit is contained in:
committed by
Commit Bot
parent
fdf1f88f62
commit
8a483be137
@ -522,7 +522,7 @@ int32_t MediaCodecVideoDecoder::DecodeOnCodecThread(
|
||||
// Feed input to decoder.
|
||||
bool success = Java_MediaCodecVideoDecoder_queueInputBuffer(
|
||||
jni, j_media_codec_video_decoder_, j_input_buffer_index,
|
||||
inputImage._length, presentation_timestamp_us,
|
||||
static_cast<int>(inputImage._length), presentation_timestamp_us,
|
||||
static_cast<int64_t>(inputImage._timeStamp), inputImage.ntp_time_ms_);
|
||||
if (CheckException(jni) || !success) {
|
||||
ALOGE << "queueInputBuffer error";
|
||||
|
||||
Reference in New Issue
Block a user