Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AACStatus bsacdecSetNumChannels(Ipp32s channelConfiguration,
- AACDec *state)
- {
- state->com.m_channel_number = channelConfiguration;
- if (channelConfiguration == 7) {
- state->com.m_channel_number; <<<---
- }
- return AAC_OK;
- }
- This suspicious code was found in IPP Samples project by PVS-Studio static code analyzer.
- Warning message is:
- V607 Ownerless expression 'state->com.m_channel_number'. aac_dec aac_dec_api_fp.c 1404
- 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