Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static const uint8_t MAYBE_LOCAL_SSRC = 1;
- bool MediaPipelineFilter::CheckRtcpSsrc(
- const unsigned char* data,
- size_t len,
- size_t ssrc_offset,
- uint8_t flags) const
- {
- ....
- if (flags | MAYBE_LOCAL_SSRC) {
- ....
- }
- This suspicious code was found in WebRTC project by PVS-Studio static code analyzer.
- Warning message is:
- V617 Consider inspecting the condition. The 'MAYBE_LOCAL_SSRC' argument of the '|' bitwise operation contains a non-zero value. mediapipelinefilter.cpp 118
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment