Index: webrtc/video/receive_statistics_proxy.cc |
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc |
index 1164a0ceed0f82a1aa28742df126c71dfc44911c..acecf06288d1ec62e7f065ec16264b883d60fd94 100644 |
--- a/webrtc/video/receive_statistics_proxy.cc |
+++ b/webrtc/video/receive_statistics_proxy.cc |
@@ -272,7 +272,7 @@ void ReceiveStatisticsProxy::OnDiscardedPacketsUpdated(int discarded_packets) { |
void ReceiveStatisticsProxy::OnPreDecode( |
const EncodedImage& encoded_image, |
const CodecSpecificInfo* codec_specific_info) { |
- if (codec_specific_info == nullptr || encoded_image.qp_ == -1) { |
+ if (!codec_specific_info || encoded_image.qp_ == -1) { |
return; |
} |
if (codec_specific_info->codecType == kVideoCodecVP8) { |