Index: webrtc/video/video_decoder.cc |
diff --git a/webrtc/video/video_decoder.cc b/webrtc/video/video_decoder.cc |
index 8e0a5034255c99ccbdc57ceae4b627ab0fb085f2..602799e075baf9253da968ac52eb1ab5090def04 100644 |
--- a/webrtc/video/video_decoder.cc |
+++ b/webrtc/video/video_decoder.cc |
@@ -74,7 +74,7 @@ bool VideoDecoderSoftwareFallbackWrapper::InitFallbackDecoder() { |
fallback_decoder_.reset(); |
return false; |
} |
- if (callback_ != nullptr) |
+ if (callback_) |
fallback_decoder_->RegisterDecodeCompleteCallback(callback_); |
fallback_implementation_name_ = |
std::string(fallback_decoder_->ImplementationName()) + |