Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static vpx_codec_err_t vp8e_encode(....)
- {
- vpx_codec_err_t res = VPX_CODEC_OK;
- if (!ctx->cfg.rc_target_bitrate)
- return res;
- if (!ctx->cfg.rc_target_bitrate)
- return res;
- ....
- }
- This suspicious code was found in WebM project by PVS-Studio static code analyzer.
- Warning message is:
- V581 The conditional expressions of the 'if' operators situated alongside each other are identical. Check lines: 755, 758. vp8_cx_iface.c 758
- 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
Advertisement