Index: webrtc/api/java/jni/androidmediadecoder_jni.cc |
diff --git a/webrtc/api/java/jni/androidmediadecoder_jni.cc b/webrtc/api/java/jni/androidmediadecoder_jni.cc |
index 92d8583bc71264e5c22dbfeab9a1d8782f767ef3..e2b58db6d4055a38c0e2fa1232122805e417da71 100644 |
--- a/webrtc/api/java/jni/androidmediadecoder_jni.cc |
+++ b/webrtc/api/java/jni/androidmediadecoder_jni.cc |
@@ -463,7 +463,7 @@ int32_t MediaCodecVideoDecoder::ReleaseOnCodecThread() { |
} |
void MediaCodecVideoDecoder::CheckOnCodecThread() { |
- RTC_CHECK(codec_thread_ == ThreadManager::Instance()->CurrentThread()) |
+ RTC_CHECK(codec_thread_.get() == ThreadManager::Instance()->CurrentThread()) |
<< "Running on wrong thread!"; |
} |