Fixing some of the issues found by clang static analyzer.
Bug: webrtc:8737 Change-Id: Ib436449c493336e7c35a72a96dc88cccdbb5bbaf Reviewed-on: https://webrtc-review.googlesource.com/39200 Commit-Queue: Peter Hanspers <peterhanspers@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21607}
This commit is contained in:
committed by
Commit Bot
parent
55536f27ee
commit
d9b64cdd32
@ -48,7 +48,7 @@
|
||||
_frameType = static_cast<RTCFrameType>(encodedImage._frameType);
|
||||
_rotation = static_cast<RTCVideoRotation>(encodedImage.rotation_);
|
||||
_completeFrame = encodedImage._completeFrame;
|
||||
_qp = encodedImage.qp_ == -1 ? nil : @(encodedImage.qp_);
|
||||
_qp = @(encodedImage.qp_);
|
||||
_contentType = (encodedImage.content_type_ == webrtc::VideoContentType::SCREENSHARE) ?
|
||||
RTCVideoContentTypeScreenshare :
|
||||
RTCVideoContentTypeUnspecified;
|
||||
|
||||
Reference in New Issue
Block a user