2025-05-05 10:26 ftp://ftp.de.debian.org/debian/pool/main/l/lame/lame_3.100.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: c79862b (2025-05-05 10:59:17 +0200) count: 811 803 elapsed-time: 32.3 32.2 head-timing-info: old-timing-info: head results: lame-3.100/ACM/tinyxml/tinyxml.h:777:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] lame-3.100/ACM/tinyxml/tinyxml.h:786:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_STRING_COUNT [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:200:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDC_CROSS [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:287:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRVCNF_OK [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:317:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_LOCAL_MACHINE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:358:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRVCNF_OK [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:499:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:575:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAVE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:677:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:712:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMSYSERR_NOTSUPPORTED [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:926:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1035:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1077:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1136:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1176:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMERR_NOTPOSSIBLE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1214:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACMFORMATDETAILS_FORMAT_CHARS [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACM.cpp:1319:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_off [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ADbg/ADbg.h:72:10: warning:inconclusive: The buffer 'prefix' may not be null-terminated after the call to strncpy(). [terminateStrncpy] lame-3.100/ACM/tinyxml/tinyxml.h:437:2: warning: Member variable 'TiXmlAttribute::document' is not initialized in the constructor. [uninitMemberVar] lame-3.100/ACM/tinyxml/tinyxml.h:440:2: warning: Member variable 'TiXmlAttribute::document' is not initialized in the constructor. [uninitMemberVar] lame-3.100/ACM/AEncodeProperties.h:235:19: performance:inconclusive: Technically the member function 'AEncodeProperties::GetBitrateLentgh' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:304:19: performance:inconclusive: Technically the member function 'AEncodeProperties::GetChannelLentgh' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/ACM.cpp:1255:11: performance:inconclusive: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/ACM.h:86:7: note: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/ACM.cpp:1255:11: note: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/ADbg/ADbg.h:48:2: style: Class 'ADbg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lame-3.100/ACM/tinyxml/tinyxml.h:527:2: style: Class 'TiXmlElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lame-3.100/ACM/tinyxml/tinyxml.h:620:2: style: Class 'TiXmlText' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lame-3.100/ACM/tinyxml/tinyxml.h:737:2: style: Class 'TiXmlDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lame-3.100/ACM/AEncodeProperties.h:59:2: style: Class 'AEncodeProperties' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lame-3.100/ACM/ACM.h:63:2: style: Class 'ACM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: style: The destructor '~TiXmlNode' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:87:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:466:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:466:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:469:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:469:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:472:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:472:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:529:11: style: The destructor '~TiXmlElement' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:529:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:561:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:393:21: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:561:21: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:563:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:563:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:565:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:565:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:567:15: style: The function 'StreamIn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:396:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:567:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:574:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:574:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:595:11: style: The destructor '~TiXmlComment' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:595:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:598:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:393:21: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:598:21: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:600:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:600:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:602:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:602:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:604:15: style: The function 'StreamIn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:396:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:604:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:611:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:611:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:621:11: style: The destructor '~TiXmlText' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:621:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:625:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:393:21: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:625:21: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:627:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:627:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:629:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:629:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:636:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:636:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:638:15: style: The function 'StreamIn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:396:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:638:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:666:11: style: The destructor '~TiXmlDeclaration' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:666:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:676:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:393:21: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:676:21: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:678:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:678:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:680:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:680:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:682:15: style: The function 'StreamIn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:396:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:682:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:689:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:689:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:707:11: style: The destructor '~TiXmlUnknown' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:707:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:710:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:393:21: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:710:21: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:712:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:712:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:714:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:714:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:716:15: style: The function 'StreamIn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:396:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:716:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:723:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:723:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:739:11: style: The destructor '~TiXmlDocument' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:262:11: note: Virtual destructor in base class lame-3.100/ACM/tinyxml/tinyxml.h:739:11: note: Destructor in derived class lame-3.100/ACM/tinyxml/tinyxml.h:754:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:135:22: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:754:22: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:780:16: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:94:16: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:780:16: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:782:15: style: The function 'StreamOut' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:97:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:782:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:784:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:393:21: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:784:21: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:791:15: style: The function 'StreamIn' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] lame-3.100/ACM/tinyxml/tinyxml.h:396:15: note: Virtual function in base class lame-3.100/ACM/tinyxml/tinyxml.h:791:15: note: Function in derived class lame-3.100/ACM/tinyxml/tinyxml.h:386:48: style: Condition 'this' is always true [knownConditionTrueFalse] lame-3.100/ACM/tinyxml/tinyxml.h:387:47: style: Condition 'this' is always true [knownConditionTrueFalse] lame-3.100/ACM/tinyxml/tinyxml.h:388:47: style: Condition 'this' is always true [knownConditionTrueFalse] lame-3.100/ACM/tinyxml/tinyxml.h:389:47: style: Condition 'this' is always true [knownConditionTrueFalse] lame-3.100/ACM/tinyxml/tinyxml.h:390:46: style: Condition 'this' is always true [knownConditionTrueFalse] lame-3.100/ACM/tinyxml/tinyxml.h:391:53: style: Condition 'this' is always true [knownConditionTrueFalse] lame-3.100/ACM/tinyxml/tinyxml.h:386:77: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/tinyxml/tinyxml.h:387:76: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/tinyxml/tinyxml.h:388:76: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/tinyxml/tinyxml.h:389:76: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/tinyxml/tinyxml.h:390:75: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/tinyxml/tinyxml.h:391:85: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:323:27: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:324:40: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:975:40: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:1047:29: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:1083:20: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:1115:28: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:1147:27: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:1183:28: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:1237:38: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACM.cpp:253:74: style: Same expression on both sides of '|'. [duplicateExpression] lame-3.100/ACM/ACM.cpp:553:11: style: Variable 'Result' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] lame-3.100/ACM/ACM.cpp:517:13: note: $symbol is assigned lame-3.100/ACM/ACM.cpp:553:11: note: $symbol is overwritten lame-3.100/ACM/ACM.cpp:553:11: style: Variable 'Result' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] lame-3.100/ACM/ACM.cpp:534:13: note: $symbol is assigned lame-3.100/ACM/ACM.cpp:553:11: note: $symbol is overwritten lame-3.100/ACM/ACM.cpp:1213:6: style: The scope of the variable 'Block_size' can be reduced. [variableScope] lame-3.100/ACM/ACM.cpp:1214:10: style: The scope of the variable 'temp' can be reduced. [variableScope] lame-3.100/ACM/ACM.cpp:113:51: style:inconclusive: Function 'operator<' argument 1 names different: declaration 'bitrate' definition 'other_bitrate'. [funcArgNamesDifferent] lame-3.100/ACM/ACM.h:57:39: note: Function 'operator<' argument 1 names different: declaration 'bitrate' definition 'other_bitrate'. lame-3.100/ACM/ACM.cpp:113:51: note: Function 'operator<' argument 1 names different: declaration 'bitrate' definition 'other_bitrate'. lame-3.100/ACM/AEncodeProperties.h:362:43: performance: Function parameter 'config_name' should be passed by const reference. [passedByValue] lame-3.100/ACM/ACM.cpp:975:31: style: Variable 'casted' can be declared as pointer to const [constVariablePointer] lame-3.100/ACM/ACM.cpp:1047:16: style: Variable 'the_stream' can be declared as pointer to const [constVariablePointer] lame-3.100/ACM/ACMStream.cpp:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_LOCAL_MACHINE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACMStream.cpp:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONO [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ACMStream.h:67:22: style:inconclusive: Member variable 'ACMStream::gfp' is in the wrong place in the initializer list. [initializerList] lame-3.100/ACM/ACMStream.cpp:62:2: note: Member variable 'ACMStream::gfp' is in the wrong place in the initializer list. lame-3.100/ACM/ACMStream.h:67:22: note: Member variable 'ACMStream::gfp' is in the wrong place in the initializer list. lame-3.100/ACM/ACMStream.cpp:65:1: warning: Class 'ACMStream' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] lame-3.100/ACM/ACMStream.cpp:65:1: warning: Class 'ACMStream' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] lame-3.100/ACM/ACMStream.cpp:343:2: warning: Either the condition 'my_debug!=NULL' is redundant or there is possible null pointer dereference: my_debug. [nullPointerRedundantCheck] lame-3.100/ACM/ACMStream.cpp:345:14: note: Assuming that condition 'my_debug!=NULL' is not redundant lame-3.100/ACM/ACMStream.cpp:343:2: note: Null pointer dereference lame-3.100/ACM/ACMStream.cpp:82:29: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ACMStream.cpp:83:42: style: C-style pointer casting [cstyleCast] lame-3.100/ACM/ADbg/ADbg.cpp:108:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_END [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ADbg/ADbg.cpp:151:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/ADbg/ADbg.cpp:116:22: style:inconclusive: Function 'OutPut' argument 1 names different: declaration 'level' definition 'forLevel'. [funcArgNamesDifferent] lame-3.100/ACM/ADbg/ADbg.h:52:17: note: Function 'OutPut' argument 1 names different: declaration 'level' definition 'forLevel'. lame-3.100/ACM/ADbg/ADbg.cpp:116:22: note: Function 'OutPut' argument 1 names different: declaration 'level' definition 'forLevel'. lame-3.100/ACM/ADbg/ADbg.cpp:122:7: style: Local variable 'result' shadows outer variable [shadowVariable] lame-3.100/ACM/ADbg/ADbg.cpp:118:6: note: Shadowed declaration lame-3.100/ACM/ADbg/ADbg.cpp:122:7: note: Shadow variable lame-3.100/ACM/ADbg/ADbg.cpp:126:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] lame-3.100/ACM/ADbg/ADbg.cpp:128:2: error: va_list 'tstlist' was opened but not closed by va_end(). [va_end_missing] lame-3.100/ACM/ADbg/ADbg.cpp:139:32: error: va_list 'tstlist' was opened but not closed by va_end(). [va_end_missing] lame-3.100/ACM/AEncodeProperties.cpp:216:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTN_GETDISPINFO [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:481:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TBM_SETRANGE [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:550:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BST_UNCHECKED [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:659:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BST_CHECKED [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:889:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:1513:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:1973:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TBM_SETPOS [valueFlowBailoutIncompleteVar] lame-3.100/ACM/AEncodeProperties.cpp:264:30: performance:inconclusive: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:230:12: note: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:264:30: note: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:247:33: performance:inconclusive: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:300:15: note: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:247:33: note: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:808:25: performance:inconclusive: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:353:7: note: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:808:25: note: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1963:25: performance:inconclusive: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:381:7: note: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1963:25: note: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1286:32: performance:inconclusive: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:433:14: note: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1286:32: note: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:2012:25: performance:inconclusive: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:435:7: note: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:2012:25: note: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1589:7: style: Condition 'bShouldEnd' is always true [knownConditionTrueFalse] lame-3.100/ACM/AEncodeProperties.cpp:1510:21: note: Assignment 'bShouldEnd=true', assigned value is 1 lame-3.100/ACM/AEncodeProperties.cpp:1589:7: note: Condition 'bShouldEnd' is always true lame-3.100/ACM/AEncodeProperties.cpp:1978:15: style: Condition 'value_maxvalue_max' is not redundant lame-3.100/ACM/AEncodeProperties.cpp:1978:15: note: Condition 'value_maxlw' is always false [knownConditionTrueFalse] lame-3.100/frontend/parse.c:411:45: note: Assuming that condition 'lwlw' is always false lame-3.100/frontend/parse.c:1319:73: style:inconclusive: Function 'generateOutPath' argument 3 names different: declaration 'suffix' definition 's_ext'. [funcArgNamesDifferent] lame-3.100/frontend/parse.h:19:77: note: Function 'generateOutPath' argument 3 names different: declaration 'suffix' definition 's_ext'. lame-3.100/frontend/parse.c:1319:73: note: Function 'generateOutPath' argument 3 names different: declaration 'suffix' definition 's_ext'. lame-3.100/frontend/parse.c:2609:118: style:inconclusive: Function 'parse_args' argument 7 names different: declaration 'max_nogap' definition 'num_nogap'. [funcArgNamesDifferent] lame-3.100/frontend/parse.h:15:67: note: Function 'parse_args' argument 7 names different: declaration 'max_nogap' definition 'num_nogap'. lame-3.100/frontend/parse.c:2609:118: note: Function 'parse_args' argument 7 names different: declaration 'max_nogap' definition 'num_nogap'. lame-3.100/frontend/parse.c:292:71: style: Parameter '_EndPtr' can be declared as pointer to const [constParameterPointer] lame-3.100/frontend/parse.c:2416:29: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] lame-3.100/frontend/rtp.c:113:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] lame-3.100/frontend/rtp.c:329:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/frontend/rtp.c:120:9: error: Resource leak: iSocket [resourceLeak] lame-3.100/frontend/rtp.c:128:13: error: Resource leak: iSocket [resourceLeak] lame-3.100/frontend/rtp.c:135:13: error: Resource leak: iSocket [resourceLeak] lame-3.100/frontend/rtp.c:325:5: warning: If memory allocation fails, then there is a possible null pointer dereference: outcast [nullPointerOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:322:21: note: outcast is assigned '(int*)buffer' here. lame-3.100/frontend/rtp.c:325:5: note: Null pointer dereference lame-3.100/frontend/rtp.c:326:5: warning: If memory allocation fails, then there is a possible null pointer dereference: outcast [nullPointerOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:322:21: note: outcast is assigned '(int*)buffer' here. lame-3.100/frontend/rtp.c:326:5: note: Null pointer dereference lame-3.100/frontend/rtp.c:327:5: warning: If memory allocation fails, then there is a possible null pointer dereference: outcast [nullPointerOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:322:21: note: outcast is assigned '(int*)buffer' here. lame-3.100/frontend/rtp.c:327:5: note: Null pointer dereference lame-3.100/frontend/rtp.c:328:5: warning: If memory allocation fails, then there is a possible null pointer dereference: outcast [nullPointerOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:322:21: note: outcast is assigned '(int*)buffer' here. lame-3.100/frontend/rtp.c:328:5: note: Null pointer dereference lame-3.100/frontend/rtp.c:331:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:331:21: note: Null pointer dereference lame-3.100/frontend/rtp.c:329:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:329:5: note: Null pointer addition lame-3.100/frontend/rtp.c:97:24: style:inconclusive: Function 'rtp_socket' argument 1 names different: declaration 'Address' definition 'address'. [funcArgNamesDifferent] lame-3.100/frontend/rtp.h:37:57: note: Function 'rtp_socket' argument 1 names different: declaration 'Address' definition 'address'. lame-3.100/frontend/rtp.c:97:24: note: Function 'rtp_socket' argument 1 names different: declaration 'Address' definition 'address'. lame-3.100/frontend/rtp.c:321:13: style: Variable 'cast' can be declared as pointer to const [constVariablePointer] lame-3.100/frontend/rtp.c:102:19: style: Variable 'cLoop' is assigned a value that is never used. [unreadVariable] lame-3.100/frontend/timestatus.c:416:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOINT_STEREO [valueFlowBailoutIncompleteVar] lame-3.100/frontend/timestatus.c:209:50: style:inconclusive: Function 'encoder_progress_begin' argument 1 names different: declaration 'gfp' definition 'gf'. [funcArgNamesDifferent] lame-3.100/frontend/timestatus.h:29:61: note: Function 'encoder_progress_begin' argument 1 names different: declaration 'gfp' definition 'gf'. lame-3.100/frontend/timestatus.c:209:50: note: Function 'encoder_progress_begin' argument 1 names different: declaration 'gfp' definition 'gf'. lame-3.100/frontend/timestatus.c:210:50: style:inconclusive: Function 'encoder_progress_begin' argument 2 names different: declaration 'inpath' definition 'inPath'. [funcArgNamesDifferent] lame-3.100/frontend/timestatus.h:30:61: note: Function 'encoder_progress_begin' argument 2 names different: declaration 'inpath' definition 'inPath'. lame-3.100/frontend/timestatus.c:210:50: note: Function 'encoder_progress_begin' argument 2 names different: declaration 'inpath' definition 'inPath'. lame-3.100/frontend/timestatus.c:211:50: style:inconclusive: Function 'encoder_progress_begin' argument 3 names different: declaration 'outpath' definition 'outPath'. [funcArgNamesDifferent] lame-3.100/frontend/timestatus.h:31:61: note: Function 'encoder_progress_begin' argument 3 names different: declaration 'outpath' definition 'outPath'. lame-3.100/frontend/timestatus.c:211:50: note: Function 'encoder_progress_begin' argument 3 names different: declaration 'outpath' definition 'outPath'. lame-3.100/frontend/timestatus.c:287:44: style:inconclusive: Function 'encoder_progress' argument 1 names different: declaration 'gfp' definition 'gf'. [funcArgNamesDifferent] lame-3.100/frontend/timestatus.h:32:52: note: Function 'encoder_progress' argument 1 names different: declaration 'gfp' definition 'gf'. lame-3.100/frontend/timestatus.c:287:44: note: Function 'encoder_progress' argument 1 names different: declaration 'gfp' definition 'gf'. lame-3.100/frontend/timestatus.c:320:48: style:inconclusive: Function 'encoder_progress_end' argument 1 names different: declaration 'gfp' definition 'gf'. [funcArgNamesDifferent] lame-3.100/frontend/timestatus.h:33:55: note: Function 'encoder_progress_end' argument 1 names different: declaration 'gfp' definition 'gf'. lame-3.100/frontend/timestatus.c:320:48: note: Function 'encoder_progress_end' argument 1 names different: declaration 'gfp' definition 'gf'. lame-3.100/libmp3lame/VbrTag.c:299:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_off [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/VbrTag.c:526:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_off [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/VbrTag.c:964:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_off [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/VbrTag.c:992:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/VbrTag.c:1030:48: style:inconclusive: Function 'PutVbrTag' argument 2 names different: declaration 'fid' definition 'fpStream'. [funcArgNamesDifferent] lame-3.100/libmp3lame/VbrTag.h:75:56: note: Function 'PutVbrTag' argument 2 names different: declaration 'fid' definition 'fpStream'. lame-3.100/libmp3lame/VbrTag.c:1030:48: note: Function 'PutVbrTag' argument 2 names different: declaration 'fid' definition 'fpStream'. lame-3.100/libmp3lame/VbrTag.c:492:32: style: Parameter 'gfp' can be declared as pointer to const [constParameterPointer] lame-3.100/libmp3lame/VbrTag.c:1032:26: style: Variable 'gfc' can be declared as pointer to const [constVariablePointer] lame-3.100/libmp3lame/VbrTag.c:263:5: error: Signed integer overflow for expression '-1<<8u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:265:5: error: Signed integer overflow for expression '-1<<3u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:266:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:267:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:268:5: error: Signed integer overflow for expression '-1<<2u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:269:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:271:5: error: Signed integer overflow for expression '-1<<4u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:272:5: error: Signed integer overflow for expression '-1<<2u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:273:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:274:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:276:5: error: Signed integer overflow for expression '-1<<2u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:277:5: error: Signed integer overflow for expression '-1<<2u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:278:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:279:5: error: Signed integer overflow for expression '-1<<1u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:280:5: error: Signed integer overflow for expression '-1<<2u'. [integerOverflow] lame-3.100/libmp3lame/VbrTag.c:1007:22: style: Variable 'nStreamIndex' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/bitstream.c:96:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_STRICT_ISO [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/bitstream.c:165:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAME_MAXMP3BUFFER [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/bitstream.c:200:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAME_MAXMP3BUFFER [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/bitstream.c:1105:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAME_MAXMP3BUFFER [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/bitstream.c:141:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/bitstream.c:1064:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/bitstream.c:252:27: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] lame-3.100/libmp3lame/bitstream.c:250:23: note: outer condition: remainingBits>=32 lame-3.100/libmp3lame/bitstream.c:252:27: note: identical inner condition: remainingBits>=32 lame-3.100/libmp3lame/bitstream.c:304:55: style:inconclusive: Function 'CRC_writeheader' argument 2 names different: declaration 'buffer' definition 'header'. [funcArgNamesDifferent] lame-3.100/libmp3lame/bitstream.h:35:63: note: Function 'CRC_writeheader' argument 2 names different: declaration 'buffer' definition 'header'. lame-3.100/libmp3lame/bitstream.c:304:55: note: Function 'CRC_writeheader' argument 2 names different: declaration 'buffer' definition 'header'. lame-3.100/libmp3lame/bitstream.c:802:47: style:inconclusive: Function 'compute_flushbits' argument 1 names different: declaration 'gfp' definition 'gfc'. [funcArgNamesDifferent] lame-3.100/libmp3lame/bitstream.h:36:55: note: Function 'compute_flushbits' argument 1 names different: declaration 'gfp' definition 'gfc'. lame-3.100/libmp3lame/bitstream.c:802:47: note: Function 'compute_flushbits' argument 1 names different: declaration 'gfp' definition 'gfc'. lame-3.100/libmp3lame/bitstream.c:802:57: style:inconclusive: Function 'compute_flushbits' argument 2 names different: declaration 'nbytes' definition 'total_bytes_output'. [funcArgNamesDifferent] lame-3.100/libmp3lame/bitstream.h:36:65: note: Function 'compute_flushbits' argument 2 names different: declaration 'nbytes' definition 'total_bytes_output'. lame-3.100/libmp3lame/bitstream.c:802:57: note: Function 'compute_flushbits' argument 2 names different: declaration 'nbytes' definition 'total_bytes_output'. lame-3.100/libmp3lame/bitstream.c:1079:67: style:inconclusive: Function 'copy_buffer' argument 3 names different: declaration 'buffer_size' definition 'size'. [funcArgNamesDifferent] lame-3.100/libmp3lame/bitstream.h:32:75: note: Function 'copy_buffer' argument 3 names different: declaration 'buffer_size' definition 'size'. lame-3.100/libmp3lame/bitstream.c:1079:67: note: Function 'copy_buffer' argument 3 names different: declaration 'buffer_size' definition 'size'. lame-3.100/libmp3lame/bitstream.c:1079:77: style:inconclusive: Function 'copy_buffer' argument 4 names different: declaration 'update_crc' definition 'mp3data'. [funcArgNamesDifferent] lame-3.100/libmp3lame/bitstream.h:33:25: note: Function 'copy_buffer' argument 4 names different: declaration 'update_crc' definition 'mp3data'. lame-3.100/libmp3lame/bitstream.c:1079:77: note: Function 'copy_buffer' argument 4 names different: declaration 'update_crc' definition 'mp3data'. lame-3.100/libmp3lame/bitstream.c:988:60: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] lame-3.100/libmp3lame/bitstream.c:992:24: style: Variable 'rov' can be declared as pointer to const [constVariablePointer] lame-3.100/libmp3lame/bitstream.c:990:38: style: Variable 'cfg' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/bitstream.c:991:36: style: Variable 'rsv' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/bitstream.c:992:28: style: Variable 'rov' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/bitstream.c:990:34: style: Variable 'cfg' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/bitstream.c:991:32: style: Variable 'rsv' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/bitstream.c:992:24: style: Variable 'rov' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/encoder.c:175:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_type [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/encoder.c:221:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_type [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/encoder.c:380:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOINT_STEREO [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/encoder.c:472:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/encoder.c:477:21: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/fft.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] lame-3.100/libmp3lame/fft.c:193:70: style:inconclusive: Function 'fft_short' argument 4 names different: declaration 'data' definition 'buffer'. [funcArgNamesDifferent] lame-3.100/libmp3lame/fft.h:29:50: note: Function 'fft_short' argument 4 names different: declaration 'data' definition 'buffer'. lame-3.100/libmp3lame/fft.c:193:70: note: Function 'fft_short' argument 4 names different: declaration 'data' definition 'buffer'. lame-3.100/libmp3lame/fft.c:251:16: style:inconclusive: Function 'fft_long' argument 2 names different: declaration 'x_real' definition 'x'. [funcArgNamesDifferent] lame-3.100/libmp3lame/fft.h:25:62: note: Function 'fft_long' argument 2 names different: declaration 'x_real' definition 'x'. lame-3.100/libmp3lame/fft.c:251:16: note: Function 'fft_long' argument 2 names different: declaration 'x_real' definition 'x'. lame-3.100/libmp3lame/fft.c:251:59: style:inconclusive: Function 'fft_long' argument 4 names different: declaration 'data' definition 'buffer'. [funcArgNamesDifferent] lame-3.100/libmp3lame/fft.h:26:49: note: Function 'fft_long' argument 4 names different: declaration 'data' definition 'buffer'. lame-3.100/libmp3lame/fft.c:251:59: note: Function 'fft_long' argument 4 names different: declaration 'data' definition 'buffer'. lame-3.100/libmp3lame/gain_analysis.c:304:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:305:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:308:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:309:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:380:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:382:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:384:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:386:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:394:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:396:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:398:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:400:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:404:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/gain_analysis.c:406:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/id3tag.c:426:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/id3tag.c:452:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/id3tag.c:654:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/id3tag.c:1205:22: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] lame-3.100/libmp3lame/id3tag.c:806:30: style: Condition 'src' is always true [knownConditionTrueFalse] lame-3.100/libmp3lame/id3tag.c:216:22: style: Variable 'gfc->tag_spec.flags' is assigned an expression that holds the same value. [redundantAssignment] lame-3.100/libmp3lame/id3tag.c:214:28: note: flags is assigned 'gfc->tag_spec.flags' here. lame-3.100/libmp3lame/id3tag.c:216:22: note: Variable 'gfc->tag_spec.flags' is assigned an expression that holds the same value. lame-3.100/libmp3lame/id3tag.c:1180:26: style: Variable 'gfc->tag_spec.flags' is assigned an expression that holds the same value. [redundantAssignment] lame-3.100/libmp3lame/id3tag.c:1178:34: note: flags is assigned 'gfc->tag_spec.flags' here. lame-3.100/libmp3lame/id3tag.c:1180:26: note: Variable 'gfc->tag_spec.flags' is assigned an expression that holds the same value. lame-3.100/libmp3lame/lame.c:389:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_mt [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/lame.c:617:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONO [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/lame.c:1503:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_default [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/lame.c:2388:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lame_global_flags [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/lame.c:2477:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lame_global_flags [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/lame.c:1109:50: warning: Either the condition 'cfg->vbr_max_bitrate_index<0' is redundant or the array 'bitrate_table[3][16]' is accessed at index bitrate_table[*][-1], which is out of bounds. [negativeIndex] lame-3.100/libmp3lame/lame.c:1100:44: note: Assuming that condition 'cfg->vbr_max_bitrate_index<0' is not redundant lame-3.100/libmp3lame/lame.c:1109:50: note: Negative array index lame-3.100/libmp3lame/lame.c:1111:13: warning: Either the condition 'cfg->vbr_max_bitrate_index<0' is redundant or the array 'bitrate_table[3][16]' is accessed at index bitrate_table[*][-1], which is out of bounds. [negativeIndex] lame-3.100/libmp3lame/lame.c:1100:44: note: Assuming that condition 'cfg->vbr_max_bitrate_index<0' is not redundant lame-3.100/libmp3lame/lame.c:1111:13: note: Negative array index lame-3.100/libmp3lame/lame.c:1372:49: style: Condition 'fft_asm_used==1' is always false [knownConditionTrueFalse] lame-3.100/libmp3lame/lame.c:1349:32: note: Assignment 'fft_asm_used=0', assigned value is 0 lame-3.100/libmp3lame/lame.c:1372:49: note: Condition 'fft_asm_used==1' is always false lame-3.100/libmp3lame/lame.c:1378:49: style: Condition 'fft_asm_used==2' is always false [knownConditionTrueFalse] lame-3.100/libmp3lame/lame.c:1349:32: note: Assignment 'fft_asm_used=0', assigned value is 0 lame-3.100/libmp3lame/lame.c:1378:49: note: Condition 'fft_asm_used==2' is always false lame-3.100/libmp3lame/lame.c:1382:49: style: Condition 'fft_asm_used==3' is always false [knownConditionTrueFalse] lame-3.100/libmp3lame/lame.c:1349:32: note: Assignment 'fft_asm_used=0', assigned value is 0 lame-3.100/libmp3lame/lame.c:1382:49: note: Condition 'fft_asm_used==3' is always false lame-3.100/libmp3lame/lame.c:2170:28: style: Condition 'new_frames>0' is always false [knownConditionTrueFalse] lame-3.100/libmp3lame/lame.c:2145:42: note: 'frame_num' is assigned value 'gfc->ov_enc.frame_number' here. lame-3.100/libmp3lame/lame.c:2169:61: note: Assignment 'new_frames=gfc->ov_enc.frame_number-frame_num', assigned value is 0 lame-3.100/libmp3lame/lame.c:2170:28: note: Condition 'new_frames>0' is always false lame-3.100/libmp3lame/lame.c:2169:61: style: Same expression on both sides of '-' because 'gfc->ov_enc.frame_number' and 'frame_num' represent the same value. [duplicateExpression] lame-3.100/libmp3lame/lame.c:2145:42: note: 'frame_num' is assigned value 'gfc->ov_enc.frame_number' here. lame-3.100/libmp3lame/lame.c:2169:61: note: Same expression on both sides of '-' because 'gfc->ov_enc.frame_number' and 'frame_num' represent the same value. lame-3.100/libmp3lame/lame.c:80:58: style:inconclusive: Function 'is_lame_internal_flags_valid' argument 1 names different: declaration 'gfp' definition 'gfc'. [funcArgNamesDifferent] lame-3.100/libmp3lame/util.h:609:70: note: Function 'is_lame_internal_flags_valid' argument 1 names different: declaration 'gfp' definition 'gfc'. lame-3.100/libmp3lame/lame.c:80:58: note: Function 'is_lame_internal_flags_valid' argument 1 names different: declaration 'gfp' definition 'gfc'. lame-3.100/libmp3lame/lame.c:2004:42: style: Parameter 'pcm' can be declared as const array [constParameter] lame-3.100/libmp3lame/lame.c:681:60: style: struct member 'q_map::lp' is never used. [unusedStructMember] lame-3.100/libmp3lame/newmdct.c:1036:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/presets.c:179:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_mt [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/presets.c:269:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_abr [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/presets.c:326:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V3 [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/presets.c:209:22: style: Local variable 'x' shadows outer variable [shadowVariable] lame-3.100/libmp3lame/presets.c:146:13: note: Shadowed declaration lame-3.100/libmp3lame/presets.c:209:22: note: Shadow variable lame-3.100/libmp3lame/psymodel.c:294:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_EPSILON [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/psymodel.c:781:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOINT_STEREO [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/psymodel.c:1449:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOINT_STEREO [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/psymodel.c:1451:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/psymodel.c:2164:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/psymodel.c:2034:22: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] lame-3.100/libmp3lame/psymodel.c:1905:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gd [nullPointerOutOfMemory] lame-3.100/libmp3lame/psymodel.c:1902:10: note: Assuming allocation function fails lame-3.100/libmp3lame/psymodel.c:1902:10: note: Assignment 'gd=(struct PsyConst_t*)calloc(1,sizeof(struct PsyConst_t))', assigned value is 0 lame-3.100/libmp3lame/psymodel.c:1905:5: note: Null pointer dereference lame-3.100/libmp3lame/psymodel.c:1409:57: style:inconclusive: Function 'L3psycho_anal_vbr' argument 3 names different: declaration 'gr' definition 'gr_out'. [funcArgNamesDifferent] lame-3.100/libmp3lame/psymodel.h:33:64: note: Function 'L3psycho_anal_vbr' argument 3 names different: declaration 'gr' definition 'gr_out'. lame-3.100/libmp3lame/psymodel.c:1409:57: note: Function 'L3psycho_anal_vbr' argument 3 names different: declaration 'gr' definition 'gr_out'. lame-3.100/libmp3lame/psymodel.c:1410:33: style:inconclusive: Function 'L3psycho_anal_vbr' argument 4 names different: declaration 'ratio' definition 'masking_ratio'. [funcArgNamesDifferent] lame-3.100/libmp3lame/psymodel.h:34:41: note: Function 'L3psycho_anal_vbr' argument 4 names different: declaration 'ratio' definition 'masking_ratio'. lame-3.100/libmp3lame/psymodel.c:1410:33: note: Function 'L3psycho_anal_vbr' argument 4 names different: declaration 'ratio' definition 'masking_ratio'. lame-3.100/libmp3lame/psymodel.c:1411:33: style:inconclusive: Function 'L3psycho_anal_vbr' argument 5 names different: declaration 'MS_ratio' definition 'masking_MS_ratio'. [funcArgNamesDifferent] lame-3.100/libmp3lame/psymodel.h:35:41: note: Function 'L3psycho_anal_vbr' argument 5 names different: declaration 'MS_ratio' definition 'masking_MS_ratio'. lame-3.100/libmp3lame/psymodel.c:1411:33: note: Function 'L3psycho_anal_vbr' argument 5 names different: declaration 'MS_ratio' definition 'masking_MS_ratio'. lame-3.100/libmp3lame/psymodel.c:1412:25: style:inconclusive: Function 'L3psycho_anal_vbr' argument 6 names different: declaration 'pe' definition 'percep_entropy'. [funcArgNamesDifferent] lame-3.100/libmp3lame/psymodel.h:36:33: note: Function 'L3psycho_anal_vbr' argument 6 names different: declaration 'pe' definition 'percep_entropy'. lame-3.100/libmp3lame/psymodel.c:1412:25: note: Function 'L3psycho_anal_vbr' argument 6 names different: declaration 'pe' definition 'percep_entropy'. lame-3.100/libmp3lame/psymodel.c:1412:50: style:inconclusive: Function 'L3psycho_anal_vbr' argument 7 names different: declaration 'pe_MS' definition 'percep_MS_entropy'. [funcArgNamesDifferent] lame-3.100/libmp3lame/psymodel.h:36:46: note: Function 'L3psycho_anal_vbr' argument 7 names different: declaration 'pe_MS' definition 'percep_MS_entropy'. lame-3.100/libmp3lame/psymodel.c:1412:50: note: Function 'L3psycho_anal_vbr' argument 7 names different: declaration 'pe_MS' definition 'percep_MS_entropy'. lame-3.100/libmp3lame/psymodel.c:1413:25: style:inconclusive: Function 'L3psycho_anal_vbr' argument 8 names different: declaration 'ener' definition 'energy'. [funcArgNamesDifferent] lame-3.100/libmp3lame/psymodel.h:36:62: note: Function 'L3psycho_anal_vbr' argument 8 names different: declaration 'ener' definition 'energy'. lame-3.100/libmp3lame/psymodel.c:1413:25: note: Function 'L3psycho_anal_vbr' argument 8 names different: declaration 'ener' definition 'energy'. lame-3.100/libmp3lame/psymodel.c:958:17: style: Variable 'nbs1' can be declared as pointer to const [constVariablePointer] lame-3.100/libmp3lame/psymodel.c:1428:13: style: Variable 'wsamp_L' is not assigned a value. [unassignedVariable] lame-3.100/libmp3lame/psymodel.c:1429:13: style: Variable 'wsamp_S' is not assigned a value. [unassignedVariable] lame-3.100/libmp3lame/quantize.c:54:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/quantize.c:343:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_off [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/quantize.c:1188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_rh [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/quantize.c:1508:22: warning: Buffer 'frameBits' is too small, the function 'VBR_old_prepare' expects a bigger buffer in 6th argument [argumentSize] lame-3.100/libmp3lame/quantize.c:1508:22: note: Function 'VBR_old_prepare' is called lame-3.100/libmp3lame/quantize.c:1394:21: note: Declaration of 6th function argument. lame-3.100/libmp3lame/quantize.c:1500:13: note: Passing buffer 'frameBits' to function that is declared here lame-3.100/libmp3lame/quantize.c:1508:22: note: Buffer 'frameBits' is too small, the function 'VBR_old_prepare' expects a bigger buffer in 6th argument lame-3.100/libmp3lame/quantize.c:1668:22: warning: Buffer 'frameBits' is too small, the function 'VBR_new_prepare' expects a bigger buffer in 5th argument [argumentSize] lame-3.100/libmp3lame/quantize.c:1668:22: note: Function 'VBR_new_prepare' is called lame-3.100/libmp3lame/quantize.c:1585:50: note: Declaration of 5th function argument. lame-3.100/libmp3lame/quantize.c:1654:13: note: Passing buffer 'frameBits' to function that is declared here lame-3.100/libmp3lame/quantize.c:1668:22: note: Buffer 'frameBits' is too small, the function 'VBR_new_prepare' expects a bigger buffer in 5th argument lame-3.100/libmp3lame/quantize.c:307:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1046:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1146:21: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1168:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1190:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1287:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1307:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1319:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize.c:1356:18: style: Variable 'bitsPerFrame' is reassigned a value before the old one has been used. [redundantAssignment] lame-3.100/libmp3lame/quantize.c:1351:18: note: bitsPerFrame is assigned lame-3.100/libmp3lame/quantize.c:1356:18: note: bitsPerFrame is overwritten lame-3.100/libmp3lame/quantize.c:898:43: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] lame-3.100/libmp3lame/quantize.c:1492:36: style:inconclusive: Function 'VBR_old_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize.h:29:44: note: Function 'VBR_old_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1492:36: note: Function 'VBR_old_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1647:36: style:inconclusive: Function 'VBR_new_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize.h:32:44: note: Function 'VBR_new_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1647:36: note: Function 'VBR_new_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1902:32: style:inconclusive: Function 'ABR_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize.h:35:40: note: Function 'ABR_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1902:32: note: Function 'ABR_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1990:32: style:inconclusive: Function 'CBR_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize.h:26:40: note: Function 'CBR_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1990:32: note: Function 'CBR_iteration_loop' argument 3 names different: declaration 'ms_ratio' definition 'ms_ener_ratio'. lame-3.100/libmp3lame/quantize.c:1307:17: error: Uninitialized variable: bst_xrpow [uninitvar] lame-3.100/libmp3lame/quantize.c:1252:23: style: Variable 'real_bits' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/quantize.c:1399:38: style: Variable 'adjust' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/quantize.c:1677:34: style: Variable 'max_bits[gr][ch]' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/quantize_pvt.c:645:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/quantize_pvt.c:1066:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scalefac [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/quantize_pvt.c:1058:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize_pvt.c:1071:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/quantize_pvt.c:724:18: style: Redundant initialization for 'xmin'. The initialized value is overwritten before it is read. [redundantInitialization] lame-3.100/libmp3lame/quantize_pvt.c:697:37: note: xmin is initialized lame-3.100/libmp3lame/quantize_pvt.c:724:18: note: xmin is overwritten lame-3.100/libmp3lame/quantize_pvt.c:592:79: style:inconclusive: Function 'calc_xmin' argument 4 names different: declaration 'l3_xmin' definition 'pxmin'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize_pvt.h:94:87: note: Function 'calc_xmin' argument 4 names different: declaration 'l3_xmin' definition 'pxmin'. lame-3.100/libmp3lame/quantize_pvt.c:592:79: note: Function 'calc_xmin' argument 4 names different: declaration 'l3_xmin' definition 'pxmin'. lame-3.100/libmp3lame/quantize_pvt.c:965:37: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/libmp3lame/quantize_pvt.c:973:38: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/libmp3lame/quantize_pvt.c:978:46: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/libmp3lame/quantize_pvt.c:1001:55: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/libmp3lame/quantize_pvt.c:1010:56: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/libmp3lame/reservoir.c:175:76: style:inconclusive: Function 'ResvMaxBits' argument 4 names different: declaration 'max_bits' definition 'extra_bits'. [funcArgNamesDifferent] lame-3.100/libmp3lame/reservoir.h:26:84: note: Function 'ResvMaxBits' argument 4 names different: declaration 'max_bits' definition 'extra_bits'. lame-3.100/libmp3lame/reservoir.c:175:76: note: Function 'ResvMaxBits' argument 4 names different: declaration 'max_bits' definition 'extra_bits'. lame-3.100/libmp3lame/reservoir.c:178:26: style: Variable 'esv' can be declared as pointer to const [constVariablePointer] lame-3.100/libmp3lame/set_get.c:383:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INDICATOR [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:395:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_INDICATOR [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:426:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JOINT_STEREO [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:875:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAD_ADJUST [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:916:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_DEFAULT [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:1106:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_max_indicator [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:1118:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_max_indicator [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:2321:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vbr_off [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:2345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAME_GENERICERROR [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/set_get.c:616:46: style: Condition 'lame_set_decode_on_the_fly(gfp,arg)<0' is always true [knownConditionTrueFalse] lame-3.100/libmp3lame/set_get.c:616:35: note: Calling function 'lame_set_decode_on_the_fly' returns -1 lame-3.100/libmp3lame/set_get.c:616:46: note: Condition 'lame_set_decode_on_the_fly(gfp,arg)<0' is always true lame-3.100/libmp3lame/set_get.c:534:48: style: Parameter 'gfp' can be declared as pointer to const [constParameterPointer] lame-3.100/libmp3lame/set_get.c:2134:55: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/libmp3lame/takehiro.c:1081:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_type [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/takehiro.c:871:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/takehiro.c:903:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/takehiro.c:918:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/takehiro.c:955:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/takehiro.c:1307:9: style: The if condition is the same as the previous if condition [duplicateCondition] lame-3.100/libmp3lame/takehiro.c:1263:9: note: First condition lame-3.100/libmp3lame/takehiro.c:1307:9: note: Second condition lame-3.100/libmp3lame/takehiro.c:656:36: style:inconclusive: Function 'noquant_count_bits' argument 2 names different: declaration 'cod_info' definition 'gi'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize_pvt.h:110:44: note: Function 'noquant_count_bits' argument 2 names different: declaration 'cod_info' definition 'gi'. lame-3.100/libmp3lame/takehiro.c:656:36: note: Function 'noquant_count_bits' argument 2 names different: declaration 'cod_info' definition 'gi'. lame-3.100/libmp3lame/takehiro.c:769:52: style:inconclusive: Function 'count_bits' argument 3 names different: declaration 'cod_info' definition 'gi'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize_pvt.h:108:36: note: Function 'count_bits' argument 3 names different: declaration 'cod_info' definition 'gi'. lame-3.100/libmp3lame/takehiro.c:769:52: note: Function 'count_bits' argument 3 names different: declaration 'cod_info' definition 'gi'. lame-3.100/libmp3lame/takehiro.c:885:76: style:inconclusive: Function 'best_huffman_divide' argument 2 names different: declaration 'cod_info' definition 'gi'. [funcArgNamesDifferent] lame-3.100/libmp3lame/quantize_pvt.h:113:84: note: Function 'best_huffman_divide' argument 2 names different: declaration 'cod_info' definition 'gi'. lame-3.100/libmp3lame/takehiro.c:885:76: note: Function 'best_huffman_divide' argument 2 names different: declaration 'cod_info' definition 'gi'. lame-3.100/libmp3lame/takehiro.c:407:20: style: Variable 'accumulate' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/takehiro.c:411:22: style: Variable 'accumulate01' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/util.c:556:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_EPSILON [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/util.c:716:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/util.c:694:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/libmp3lame/util.c:250:46: style:inconclusive: Function 'ATHformula' argument 2 names different: declaration 'freq' definition 'f'. [funcArgNamesDifferent] lame-3.100/libmp3lame/util.h:564:63: note: Function 'ATHformula' argument 2 names different: declaration 'freq' definition 'f'. lame-3.100/libmp3lame/util.c:250:46: note: Function 'ATHformula' argument 2 names different: declaration 'freq' definition 'f'. lame-3.100/libmp3lame/util.c:351:34: style:inconclusive: Function 'nearestBitrateFullIndex' argument 1 names different: declaration 'brate' definition 'bitrate'. [funcArgNamesDifferent] lame-3.100/libmp3lame/util.h:563:49: note: Function 'nearestBitrateFullIndex' argument 1 names different: declaration 'brate' definition 'bitrate'. lame-3.100/libmp3lame/util.c:351:34: note: Function 'nearestBitrateFullIndex' argument 1 names different: declaration 'brate' definition 'bitrate'. lame-3.100/libmp3lame/vbrquantize.c:1546:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scalefac_compress [valueFlowBailoutIncompleteVar] lame-3.100/libmp3lame/vbrquantize.c:891:14: style: The comparison 'vm0p == 1' is always true. [knownConditionTrueFalse] lame-3.100/libmp3lame/vbrquantize.c:858:41: note: 'vm0p' is assigned value '1' here. lame-3.100/libmp3lame/vbrquantize.c:891:14: note: The comparison 'vm0p == 1' is always true. lame-3.100/libmp3lame/vbrquantize.c:1319:18: style: Redundant initialization for 'use_nbits_fr'. The initialized value is overwritten before it is read. [redundantInitialization] lame-3.100/libmp3lame/vbrquantize.c:1270:26: note: use_nbits_fr is initialized lame-3.100/libmp3lame/vbrquantize.c:1319:18: note: use_nbits_fr is overwritten lame-3.100/libmp3lame/vbrquantize.c:1256:63: style:inconclusive: Function 'VBR_encode_frame' argument 4 names different: declaration 'maxbits' definition 'max_bits'. [funcArgNamesDifferent] lame-3.100/libmp3lame/vbrquantize.h:26:71: note: Function 'VBR_encode_frame' argument 4 names different: declaration 'maxbits' definition 'max_bits'. lame-3.100/libmp3lame/vbrquantize.c:1256:63: note: Function 'VBR_encode_frame' argument 4 names different: declaration 'maxbits' definition 'max_bits'. lame-3.100/libmp3lame/vbrquantize.c:78:13: style: union member 'fi_union::f' is never used. [unusedStructMember] lame-3.100/libmp3lame/vbrquantize.c:79:13: style: union member 'fi_union::i' is never used. [unusedStructMember] lame-3.100/libmp3lame/vbrquantize.c:1048:19: style: Variable 'nbits' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/vbrquantize.c:1068:15: style: Variable 'nbits' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/vbrquantize.c:1188:23: style: Variable 'nbits' is assigned a value that is never used. [unreadVariable] lame-3.100/libmp3lame/vbrquantize.c:1220:23: style: Variable 'nbits' is assigned a value that is never used. [unreadVariable] lame-3.100/misc/abx.c:296:22: error: Internal Error. MathLib::toDoubleNumber: conversion failed: 9.95e999L [internalError] lame-3.100/misc/ath.c:52:0: error: #error no soundcard include [preprocessorErrorDirective] lame-3.100/misc/ath.c:52:3: error: #error no soundcard include [preprocessorErrorDirective] lame-3.100/misc/mlame_corr.c:197:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] lame-3.100/misc/mlame_corr.c:211:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] lame-3.100/misc/mlame_corr.c:165:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] lame-3.100/misc/mlame_corr.c:204:12: style: Variable 'name' can be declared as pointer to const [constVariablePointer] lame-3.100/misc/mlame_corr.c:136:8: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/misc/mlame_corr.c:120:24: style: Variable 'scale' is assigned a value that is never used. [unreadVariable] lame-3.100/misc/mlame_corr.c:133:8: style: Variable 'x' is assigned a value that is never used. [unreadVariable] lame-3.100/misc/mlame_corr.c:134:8: style: Variable 'y' is assigned a value that is never used. [unreadVariable] lame-3.100/misc/mlame_corr.c:120:18: style: Variable 'scale' is assigned a value that is never used. [unreadVariable] lame-3.100/misc/mlame_corr.c:122:18: style: Unused variable: rd [unusedVariable] lame-3.100/misc/mlame_corr.c:172:21: style: Unused variable: m [unusedVariable] lame-3.100/misc/scalartest.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] lame-3.100/misc/scalartest.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] lame-3.100/misc/scalartest.c:105:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] lame-3.100/misc/scalartest.c:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scalar04_float32 [valueFlowBailoutIncompleteVar] lame-3.100/misc/scalartest.c:36:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] lame-3.100/misc/scalartest.c:70:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] lame-3.100/mpglib/common.c:361:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/mpglib/common.c:221:23: style: Variable 'fr->bitrate_index' is reassigned a value before the old one has been used. [redundantAssignment] lame-3.100/mpglib/common.c:219:27: note: fr->bitrate_index is assigned lame-3.100/mpglib/common.c:221:23: note: fr->bitrate_index is overwritten lame-3.100/mpglib/dct64_i386.c:45:64: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/dct64_i386.c:49:17: style: Variable 'costab' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/dct64_i386.c:102:17: style: Variable 'costab' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/dct64_i386.c:140:17: style: Variable 'costab' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/decode_i386.c:106:5: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] lame-3.100/mpglib/decode_i386.c:106:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] lame-3.100/mpglib/decode_i386.c:223:5: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] lame-3.100/mpglib/interface.c:125:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/mpglib/interface.c:221:9: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] lame-3.100/mpglib/interface.c:695:37: style:inconclusive: Function 'decodeMP3' argument 2 names different: declaration 'inmemory' definition 'in'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:32:49: note: Function 'decodeMP3' argument 2 names different: declaration 'inmemory' definition 'in'. lame-3.100/mpglib/interface.c:695:37: note: Function 'decodeMP3' argument 2 names different: declaration 'inmemory' definition 'in'. lame-3.100/mpglib/interface.c:695:45: style:inconclusive: Function 'decodeMP3' argument 3 names different: declaration 'inmemsize' definition 'isize'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:32:63: note: Function 'decodeMP3' argument 3 names different: declaration 'inmemsize' definition 'isize'. lame-3.100/mpglib/interface.c:695:45: note: Function 'decodeMP3' argument 3 names different: declaration 'inmemsize' definition 'isize'. lame-3.100/mpglib/interface.c:695:58: style:inconclusive: Function 'decodeMP3' argument 4 names different: declaration 'outmemory' definition 'out'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:32:80: note: Function 'decodeMP3' argument 4 names different: declaration 'outmemory' definition 'out'. lame-3.100/mpglib/interface.c:695:58: note: Function 'decodeMP3' argument 4 names different: declaration 'outmemory' definition 'out'. lame-3.100/mpglib/interface.c:695:67: style:inconclusive: Function 'decodeMP3' argument 5 names different: declaration 'outmemsize' definition 'osize'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:33:27: note: Function 'decodeMP3' argument 5 names different: declaration 'outmemsize' definition 'osize'. lame-3.100/mpglib/interface.c:695:67: note: Function 'decodeMP3' argument 5 names different: declaration 'outmemsize' definition 'osize'. lame-3.100/mpglib/interface.c:707:47: style:inconclusive: Function 'decodeMP3_unclipped' argument 2 names different: declaration 'inmemory' definition 'in'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:39:59: note: Function 'decodeMP3_unclipped' argument 2 names different: declaration 'inmemory' definition 'in'. lame-3.100/mpglib/interface.c:707:47: note: Function 'decodeMP3_unclipped' argument 2 names different: declaration 'inmemory' definition 'in'. lame-3.100/mpglib/interface.c:707:55: style:inconclusive: Function 'decodeMP3_unclipped' argument 3 names different: declaration 'inmemsize' definition 'isize'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:39:73: note: Function 'decodeMP3_unclipped' argument 3 names different: declaration 'inmemsize' definition 'isize'. lame-3.100/mpglib/interface.c:707:55: note: Function 'decodeMP3_unclipped' argument 3 names different: declaration 'inmemsize' definition 'isize'. lame-3.100/mpglib/interface.c:707:68: style:inconclusive: Function 'decodeMP3_unclipped' argument 4 names different: declaration 'outmemory' definition 'out'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:39:90: note: Function 'decodeMP3_unclipped' argument 4 names different: declaration 'outmemory' definition 'out'. lame-3.100/mpglib/interface.c:707:68: note: Function 'decodeMP3_unclipped' argument 4 names different: declaration 'outmemory' definition 'out'. lame-3.100/mpglib/interface.c:707:77: style:inconclusive: Function 'decodeMP3_unclipped' argument 5 names different: declaration 'outmemsize' definition 'osize'. [funcArgNamesDifferent] lame-3.100/mpglib/interface.h:40:37: note: Function 'decodeMP3_unclipped' argument 5 names different: declaration 'outmemsize' definition 'osize'. lame-3.100/mpglib/interface.c:707:77: note: Function 'decodeMP3_unclipped' argument 5 names different: declaration 'outmemsize' definition 'osize'. lame-3.100/mpglib/interface.c:110:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/interface.c:332:27: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer1.c:131:29: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] lame-3.100/mpglib/layer1.c:138:29: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] lame-3.100/mpglib/layer1.c:155:41: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] lame-3.100/mpglib/layer1.c:178:29: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] lame-3.100/mpglib/layer1.c:60:19: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer1.c:113:19: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer1.c:204:19: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer1.c:131:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/mpglib/layer1.c:138:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/mpglib/layer1.c:156:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/mpglib/layer1.c:157:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/mpglib/layer1.c:178:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lame-3.100/mpglib/layer2.c:252:36: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer2.c:299:32: style: Variable 'tab' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:349:69: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] lame-3.100/mpglib/layer3.c:569:64: style: Parameter 'gr_infos' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:719:66: style: Parameter 'scf' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:726:13: style: Variable 'me' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:794:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:993:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1196:53: style: Parameter 'scalefac' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:1201:13: style: Variable 'tabl1' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1201:21: style: Variable 'tabl2' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1342:60: style: Parameter 'gr_infos' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:1364:21: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1364:34: style: Variable 'ca' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1426:11: style: Variable 'w' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1427:11: style: Variable 'out1' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1496:25: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:1496:62: style: Parameter 'wi' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:1531:12: style: Variable 'out1' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1639:38: style: Parameter 'gr_infos' can be declared as pointer to const [constParameterPointer] lame-3.100/mpglib/layer3.c:1714:19: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1745:31: style: Variable 'gr_infos' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1762:19: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1864:58: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1872:58: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1896:35: style: Variable 'gr_infos' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:1909:35: style: Variable 'gr_infos' can be declared as pointer to const [constVariablePointer] lame-3.100/mpglib/layer3.c:723:42: style: Variable 'xr_value' is assigned a value that is never used. [unreadVariable] lame-3.100/mpglib/tabinit.c:115:25: style:inconclusive: Function 'make_decode_tables' argument 1 names different: declaration 'scale' definition 'scaleval'. [funcArgNamesDifferent] lame-3.100/mpglib/tabinit.h:30:33: note: Function 'make_decode_tables' argument 1 names different: declaration 'scale' definition 'scaleval'. lame-3.100/mpglib/tabinit.c:115:25: note: Function 'make_decode_tables' argument 1 names different: declaration 'scale' definition 'scaleval'. diff: head lame-3.100/ACM/ACM.cpp:1255:11: performance:inconclusive: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/ACM.h:86:7: note: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/ACM.cpp:1255:11: note: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/ACM.h:86:7: performance:inconclusive: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/ACM.cpp:1255:11: note: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/ACM.h:86:7: note: Technically the member function 'ACM::GetPCMFormatForIndex' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/AEncodeProperties.cpp:1286:32: performance:inconclusive: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:433:14: note: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1286:32: note: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/AEncodeProperties.cpp:1963:25: performance:inconclusive: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:381:7: note: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:1963:25: note: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/AEncodeProperties.cpp:2012:25: performance:inconclusive: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:435:7: note: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:2012:25: note: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/AEncodeProperties.cpp:247:33: performance:inconclusive: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:300:15: note: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:247:33: note: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/AEncodeProperties.cpp:264:30: performance:inconclusive: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:230:12: note: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:264:30: note: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/AEncodeProperties.cpp:401:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] head lame-3.100/ACM/AEncodeProperties.cpp:808:25: performance:inconclusive: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.h:353:7: note: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.cpp:808:25: note: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/AEncodeProperties.h:230:12: performance:inconclusive: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.cpp:264:30: note: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.h:230:12: note: Technically the member function 'AEncodeProperties::GetBitrateString' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/AEncodeProperties.h:300:15: performance:inconclusive: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.cpp:247:33: note: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.h:300:15: note: Technically the member function 'AEncodeProperties::GetChannelModeString' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/AEncodeProperties.h:353:7: performance:inconclusive: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.cpp:808:25: note: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.h:353:7: note: Technically the member function 'AEncodeProperties::ParamsSave' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/AEncodeProperties.h:381:7: performance:inconclusive: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.cpp:1963:25: note: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.h:381:7: note: Technically the member function 'AEncodeProperties::UpdateDlgFromSlides' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/AEncodeProperties.h:433:14: performance:inconclusive: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.cpp:1286:32: note: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.h:433:14: note: Technically the member function 'AEncodeProperties::SetAttributeBool' can be static (but you may consider moving to unnamed namespace). 2.17.0 lame-3.100/ACM/AEncodeProperties.h:435:7: performance:inconclusive: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). [functionStatic] lame-3.100/ACM/AEncodeProperties.cpp:2012:25: note: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). lame-3.100/ACM/AEncodeProperties.h:435:7: note: Technically the member function 'AEncodeProperties::EnableAbrOptions' can be static (but you may consider moving to unnamed namespace). head lame-3.100/ACM/tinyxml/tinyxml.cpp:977:25: style:inconclusive: Technically the member function 'TiXmlAttributeSet::Remove' can be const. [functionConst] lame-3.100/ACM/tinyxml/tinyxml.h:507:7: note: Technically the member function 'TiXmlAttributeSet::Remove' can be const. lame-3.100/ACM/tinyxml/tinyxml.cpp:977:25: note: Technically the member function 'TiXmlAttributeSet::Remove' can be const. 2.17.0 lame-3.100/ACM/tinyxml/tinyxml.h:507:7: style:inconclusive: Technically the member function 'TiXmlAttributeSet::Remove' can be const. [functionConst] lame-3.100/ACM/tinyxml/tinyxml.cpp:977:25: note: Technically the member function 'TiXmlAttributeSet::Remove' can be const. lame-3.100/ACM/tinyxml/tinyxml.h:507:7: note: Technically the member function 'TiXmlAttributeSet::Remove' can be const. head lame-3.100/ACM/tinyxml/tinyxmlparser.cpp:924:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head lame-3.100/frontend/get_audio.c:322:19: warning: Either the condition 'b!=0' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] lame-3.100/frontend/get_audio.c:298:11: note: Assuming that condition 'b!=0' is not redundant lame-3.100/frontend/get_audio.c:322:19: note: Null pointer dereference 2.17.0 lame-3.100/frontend/rtp.c:329:5: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:329:5: note: Null pointer addition head lame-3.100/frontend/rtp.c:329:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] lame-3.100/frontend/rtp.c:320:28: note: Assuming allocation function fails lame-3.100/frontend/rtp.c:320:28: note: Assignment 'buffer=malloc(len+sizeof(struct rtpheader))', assigned value is 0 lame-3.100/frontend/rtp.c:329:5: note: Null pointer addition head lame-3.100/libmp3lame/bitstream.c:990:34: style: Variable 'cfg' is assigned a value that is never used. [unreadVariable] head lame-3.100/libmp3lame/bitstream.c:991:32: style: Variable 'rsv' is assigned a value that is never used. [unreadVariable] head lame-3.100/libmp3lame/bitstream.c:992:24: style: Variable 'rov' is assigned a value that is never used. [unreadVariable] head lame-3.100/misc/ath.c:52:3: error: #error no soundcard include [preprocessorErrorDirective] head lame-3.100/misc/mlame_corr.c:120:18: style: Variable 'scale' is assigned a value that is never used. [unreadVariable] DONE