Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AACStatus aacencGetFrame(....)
- {
- ...
- if (maxEn[0] > maxEn[1]) {
- ics[1].num_window_groups = ics[0].num_window_groups;
- for (g = 0; g < ics[0].num_window_groups; g++) {
- ics[1].len_window_group[g] = ics[0].len_window_group[g];
- }
- } else {
- ics[1].num_window_groups = ics[0].num_window_groups;
- for (g = 0; g < ics[0].num_window_groups; g++) {
- ics[1].len_window_group[g] = ics[0].len_window_group[g];
- }
- }
- ...
- }
- This suspicious code was found in IPP Samples project by PVS-Studio static code analyzer.
- Warning message is:
- V523 The 'then' statement is equivalent to the 'else' statement. aac_enc aac_enc_api_fp.c 1379
- 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