2024-03-28 00:42 ftp://ftp.de.debian.org/debian/pool/main/libl/liblivemedia/liblivemedia_2018.11.26.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 98951f5 (2024-03-27 21:50:05 +0100) count: 1063 1030 elapsed-time: 7.5 7.6 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 5.56593s (avg. 5.56593s - 1 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, errorLogger, settings): 1.35508s (avg. 1.35508s - 1 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.32076s (avg. 0.440255s - 3 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.24379s (avg. 0.414597s - 3 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.06515s (avg. 0.355048s - 3 result(s)) Overall time: 5.63595s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 5.99565s (avg. 5.99565s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.5697s (avg. 0.523232s - 3 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, settings): 1.56825s (avg. 1.56825s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.45922s (avg. 0.486407s - 3 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.893554s (avg. 0.223388s - 4 result(s)) Overall time: 6.06041s head results: live/BasicUsageEnvironment/BasicUsageEnvironment0.cpp:100:19: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:124:0: style: C-style reference casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:149:20: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:150:20: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:178:25: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:182:0: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:217:14: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:268:19: style: C-style pointer casting [cstyleCast] live/BasicUsageEnvironment/BasicHashTable.cpp:149:15: style: Variable 'k1' can be declared as pointer to const [constVariablePointer] live/BasicUsageEnvironment/BasicHashTable.cpp:150:15: style: Variable 'k2' can be declared as pointer to const [constVariablePointer] live/WindowsAudioInputDevice/WindowsAudioInputDevice_noMixer.cpp:29:8: performance:inconclusive: Technically the member function 'AudioInputPort::close' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/WindowsAudioInputDevice/WindowsAudioInputDevice_noMixer.cpp:178:22: note: Technically the member function 'AudioInputPort::close' can be static (but you may consider moving to unnamed namespace). live/WindowsAudioInputDevice/WindowsAudioInputDevice_noMixer.cpp:29:8: note: Technically the member function 'AudioInputPort::close' can be static (but you may consider moving to unnamed namespace). live/WindowsAudioInputDevice/showAudioInputPorts.cpp:31:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/WindowsAudioInputDevice/showAudioInputPorts.cpp:23:18: style: Variable 'portNames' can be declared as pointer to const [constVariablePointer] live/BasicUsageEnvironment/BasicTaskScheduler.cpp:55:4: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:30:3: warning: Member variable 'WindowsAudioInputDevice_common::fTotalPollingDelay' is not initialized in the constructor. [uninitMemberVar] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:79:26: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:98:49: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:117:13: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:140:20: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:195:28: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_common.cpp:79:14: style: Variable 'samplePtr' can be declared as pointer to const [constVariablePointer] live/groupsock/NetAddress.cpp:89:39: style: C-style pointer casting [cstyleCast] live/groupsock/NetAddress.cpp:96:39: style: C-style pointer casting [cstyleCast] live/groupsock/NetAddress.cpp:152:0: style: C-style pointer casting [cstyleCast] live/groupsock/NetAddress.cpp:241:22: style: C-style pointer casting [cstyleCast] live/groupsock/NetAddress.cpp:251:25: style: C-style pointer casting [cstyleCast] live/groupsock/NetAddress.cpp:261:25: style: C-style pointer casting [cstyleCast] live/groupsock/NetInterface.cpp:61:46: style: C-style pointer casting [cstyleCast] live/groupsock/NetInterface.cpp:66:25: style: C-style pointer casting [cstyleCast] live/groupsock/NetInterface.cpp:141:12: style: C-style pointer casting [cstyleCast] live/groupsock/NetInterface.cpp:146:19: style: C-style pointer casting [cstyleCast] live/groupsock/NetInterface.cpp:158:26: style: C-style pointer casting [cstyleCast] live/WindowsAudioInputDevice/WindowsAudioInputDevice_mixer.cpp:233:8: warning: Member variable 'Mixer::index' is not initialized in the constructor. [uninitMemberVar] live/WindowsAudioInputDevice/WindowsAudioInputDevice_mixer.cpp:233:8: warning: Member variable 'Mixer::name' is not initialized in the constructor. [uninitMemberVar] live/WindowsAudioInputDevice/WindowsAudioInputDevice_mixer.cpp:92:12: style: Variable 'mixer' can be declared as reference to const [constVariableReference] live/WindowsAudioInputDevice/WindowsAudioInputDevice_mixer.cpp:352:19: style: Variable 'port' can be declared as reference to const [constVariableReference] live/liveMedia/AC3AudioFileServerMediaSubsession.cpp:57:39: style: C-style pointer casting [cstyleCast] live/liveMedia/ADTSAudioFileServerMediaSubsession.cpp:54:37: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:301:14: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:321:16: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:437:4: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:454:12: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:523:21: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:525:21: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:554:26: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:562:18: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:575:40: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:589:17: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:609:9: style: C-style pointer casting [cstyleCast] live/groupsock/Groupsock.cpp:663:57: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioFileServerMediaSubsession.cpp:54:35: style: C-style pointer casting [cstyleCast] live/liveMedia/ADTSAudioFileSource.cpp:170:5: style: C-style pointer casting [cstyleCast] live/liveMedia/AC3AudioStreamFramer.cpp:29:3: warning: Member variable 'AC3FrameParams::hdr0' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:29:3: warning: Member variable 'AC3FrameParams::hdr1' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:29:3: warning: Member variable 'AC3FrameParams::kbps' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:29:3: warning: Member variable 'AC3FrameParams::frameSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:218:3: warning: Member variable 'AC3AudioStreamParser::fTo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:218:3: warning: Member variable 'AC3AudioStreamParser::fMaxSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:218:3: warning: Member variable 'AC3AudioStreamParser::fSavedFrameFlag' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AC3AudioStreamFramer.cpp:44:12: style: The destructor '~AC3AudioStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/AC3AudioStreamFramer.cpp:44:12: note: Destructor in derived class live/liveMedia/AC3AudioStreamFramer.cpp:147:34: style: C-style pointer casting [cstyleCast] live/liveMedia/AC3AudioStreamFramer.cpp:321:34: style: C-style pointer casting [cstyleCast] live/liveMedia/AC3AudioStreamFramer.cpp:332:34: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioFileSink.cpp:68:28: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioFileSink.cpp:88:13: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioRTPSink.cpp:56:31: style: C-style reference casting [cstyleCast] live/liveMedia/AMRAudioRTPSink.cpp:96:31: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioFileSource.cpp:173:5: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioFileSource.cpp:59:17: style: Variable 'bytesRead' is assigned a value that is never used. [unreadVariable] live/groupsock/GroupsockHelper.cpp:77:26: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:118:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:155:26: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:174:7: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:232:50: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:244:50: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:249:52: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:273:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:303:26: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:341:36: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:342:8: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:385:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:398:36: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:399:8: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:429:4: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:446:46: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:471:6: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:508:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:534:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:580:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:606:5: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:616:28: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:627:19: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:702:15: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:734:22: style: C-style pointer casting [cstyleCast] live/groupsock/GroupsockHelper.cpp:651:7: style: The scope of the variable 'sock' can be reduced. [variableScope] live/groupsock/GroupsockHelper.cpp:170:20: style: Local variable 'addr' shadows outer variable [shadowVariable] live/groupsock/GroupsockHelper.cpp:148:18: note: Shadowed declaration live/groupsock/GroupsockHelper.cpp:170:20: note: Shadow variable live/groupsock/GroupsockHelper.cpp:395:22: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] live/liveMedia/BasicUDPSink.cpp:63:24: style: C-style pointer casting [cstyleCast] live/liveMedia/BasicUDPSink.cpp:94:11: style: C-style pointer casting [cstyleCast] live/liveMedia/BasicUDPSink.cpp:99:24: style: C-style pointer casting [cstyleCast] live/liveMedia/BasicUDPSource.cpp:49:3: style: C-style pointer casting [cstyleCast] live/liveMedia/Base64.cpp:89:0: style: C-style pointer casting [cstyleCast] live/liveMedia/ByteStreamFileSource.cpp:107:9: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioRTPSource.cpp:394:12: performance:inconclusive: Technically the member function 'AMRDeinterleavingBuffer::inputBufferSize' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/AMRAudioRTPSource.cpp:180:3: style: Class 'AMRBufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/AMRAudioRTPSource.cpp:491:37: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioRTPSource.cpp:497:29: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioRTPSource.cpp:592:28: style: C-style pointer casting [cstyleCast] live/liveMedia/AMRAudioRTPSource.cpp:238:18: style: Variable 'headerStart' can be declared as pointer to const [constVariablePointer] live/liveMedia/DVVideoFileServerMediaSubsession.cpp:71:11: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoFileServerMediaSubsession.cpp:81:33: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoFileServerMediaSubsession.cpp:82:38: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoFileServerMediaSubsession.cpp:95:33: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoFileServerMediaSubsession.cpp:96:38: style: C-style pointer casting [cstyleCast] live/liveMedia/ByteStreamMultiFileSource.cpp:60:14: style: C-style pointer casting [cstyleCast] live/liveMedia/ByteStreamMultiFileSource.cpp:109:7: style: C-style pointer casting [cstyleCast] live/liveMedia/ByteStreamMultiFileSource.cpp:119:7: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoRTPSink.cpp:76:39: style: C-style pointer casting [cstyleCast] live/liveMedia/DeviceSource.cpp:153:20: style: Condition 'ourScheduler!=NULL' is always false [knownConditionTrueFalse] live/liveMedia/DeviceSource.cpp:150:33: note: Assignment 'ourScheduler=NULL', assigned value is 0 live/liveMedia/DeviceSource.cpp:153:20: note: Condition 'ourScheduler!=NULL' is always false live/liveMedia/DeviceSource.cpp:97:4: style: C-style pointer casting [cstyleCast] live/liveMedia/DeviceSource.cpp:125:33: style: C-style pointer casting [cstyleCast] live/liveMedia/DigestAuthentication.cpp:92:15: style: C-style pointer casting [cstyleCast] live/liveMedia/DigestAuthentication.cpp:118:13: style: C-style pointer casting [cstyleCast] live/liveMedia/DigestAuthentication.cpp:125:11: style: C-style pointer casting [cstyleCast] live/liveMedia/DigestAuthentication.cpp:133:11: style: C-style pointer casting [cstyleCast] live/liveMedia/DigestAuthentication.cpp:141:11: style: C-style pointer casting [cstyleCast] live/liveMedia/EBMLNumber.hh:32:3: style: Class 'EBMLNumber' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/EBMLNumber.hh:133:12: style: The destructor '~EBMLId' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/EBMLNumber.hh:33:12: note: Virtual destructor in base class live/liveMedia/EBMLNumber.hh:133:12: note: Destructor in derived class live/liveMedia/EBMLNumber.hh:141:12: style: The destructor '~EBMLDataSize' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/EBMLNumber.hh:33:12: note: Virtual destructor in base class live/liveMedia/EBMLNumber.hh:141:12: note: Destructor in derived class live/liveMedia/FileServerMediaSubsession.cpp:33:12: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:75:0: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:82:0: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:83:0: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:128:0: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:138:33: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:189:0: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:206:0: style: C-style pointer casting [cstyleCast] live/liveMedia/DVVideoStreamFramer.cpp:52:12: style: struct member 'DVVideoProfile::channelCount' is never used. [unusedStructMember] live/liveMedia/FileSink.cpp:88:20: style: C-style pointer casting [cstyleCast] live/liveMedia/FramedSource.cpp:53:18: style: C-style pointer casting [cstyleCast] live/liveMedia/FramedSource.cpp:97:26: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fLastPacketRTPSeqNum' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fAVISubsessionTag' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fAVICodecHandlerType' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fAVISamplingFrequency' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fAVIScale' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fAVIRate' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fAVISize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:390:23: warning: Member variable 'AVISubsessionIOState::fSTRHFrameCountPosition' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/AVIFileSink.cpp:41:5: warning: Class 'SubsessionBuffer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/AVIFileSink.cpp:41:5: warning: Class 'SubsessionBuffer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/AVIFileSink.cpp:394:3: warning: Class 'AVISubsessionIOState' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/AVIFileSink.cpp:394:3: warning: Class 'AVISubsessionIOState' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/AVIFileSink.cpp:38:3: style: Class 'SubsessionBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/AVIFileSink.cpp:165:27: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:189:9: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:252:9: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:275:35: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:285:35: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:296:9: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:311:35: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:353:9: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:651:25: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:660:25: style: C-style pointer casting [cstyleCast] live/liveMedia/AVIFileSink.cpp:295:27: style: Variable 'ioState' can be declared as pointer to const [constVariablePointer] live/liveMedia/AVIFileSink.cpp:398:17: style: Variable 'subsessionSource' can be declared as pointer to const [constVariablePointer] live/liveMedia/H263plusVideoRTPSink.cpp:72:27: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:37:42: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:58:28: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:67:27: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:76:47: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:87:28: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:119:27: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:126:24: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:133:32: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:177:32: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:187:44: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:214:0: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:224:0: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:238:34: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:295:9: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:379:22: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:387:25: style: C-style pointer casting [cstyleCast] live/liveMedia/GenericMediaServer.cpp:391:20: style: C-style pointer casting [cstyleCast] live/liveMedia/H263plusVideoStreamParser.hh:77:13: style: The destructor '~H263plusVideoStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/H263plusVideoStreamParser.hh:77:13: note: Destructor in derived class live/liveMedia/H263plusVideoStreamParser.hh:102:16: style: The function 'restoreSavedParserState' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:44:16: note: Virtual function in base class live/liveMedia/H263plusVideoStreamParser.hh:102:16: note: Function in derived class live/liveMedia/H263plusVideoStreamFramer.cpp:84:40: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoFileServerMediaSubsession.cpp:45:49: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoFileServerMediaSubsession.cpp:57:49: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoFileServerMediaSubsession.cpp:78:10: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoRTPSource.cpp:28:3: style: Class 'H264BufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fTo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fMaxSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fStartOfFrame' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fSavedTo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fLimit' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fNumTruncatedBytes' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.cpp:28:28: warning: Member variable 'H263plusVideoStreamParser::fSavedNumTruncatedBytes' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/H263plusVideoStreamParser.hh:97:14: style: Unused private function: 'H263plusVideoStreamParser::GetMaxBitrate' [unusedPrivateFunction] live/liveMedia/H263plusVideoStreamParser.hh:97:14: performance:inconclusive: Technically the member function 'H263plusVideoStreamParser::GetMaxBitrate' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/H263plusVideoStreamParser.cpp:289:33: note: Technically the member function 'H263plusVideoStreamParser::GetMaxBitrate' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H263plusVideoStreamParser.hh:97:14: note: Technically the member function 'H263plusVideoStreamParser::GetMaxBitrate' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H263plusVideoStreamParser.hh:99:14: performance:inconclusive: Technically the member function 'H263plusVideoStreamParser::GetWidthAndHeight' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/H263plusVideoStreamParser.cpp:347:33: note: Technically the member function 'H263plusVideoStreamParser::GetWidthAndHeight' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H263plusVideoStreamParser.hh:99:14: note: Technically the member function 'H263plusVideoStreamParser::GetWidthAndHeight' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H263plusVideoStreamParser.hh:100:14: performance:inconclusive: Technically the member function 'H263plusVideoStreamParser::GetTRDifference' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/H263plusVideoStreamParser.cpp:379:37: note: Technically the member function 'H263plusVideoStreamParser::GetTRDifference' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H263plusVideoStreamParser.hh:100:14: note: Technically the member function 'H263plusVideoStreamParser::GetTRDifference' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H263plusVideoStreamParser.cpp:200:7: portability: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_uint] live/liveMedia/H263plusVideoStreamParser.cpp:172:15: style: Variable 'bufferEnd' can be declared as pointer to const [constVariablePointer] live/liveMedia/H264VideoRTPSink.cpp:92:20: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoRTPSink.cpp:109:35: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoRTPSink.cpp:110:35: style: C-style pointer casting [cstyleCast] live/liveMedia/H264VideoRTPSink.cpp:86:39: style: The scope of the variable 'vpsDummySize' can be reduced. [variableScope] live/liveMedia/H264or5VideoStreamDiscreteFramer.cpp:48:46: style: C-style pointer casting [cstyleCast] live/liveMedia/H264or5VideoRTPSink.cpp:140:9: style: C-style pointer casting [cstyleCast] live/liveMedia/H264or5VideoRTPSink.cpp:142:10: style: C-style pointer casting [cstyleCast] live/liveMedia/H264or5VideoRTPSink.cpp:277:35: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoFileServerMediaSubsession.cpp:45:49: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoFileServerMediaSubsession.cpp:57:49: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoFileServerMediaSubsession.cpp:78:10: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoRTPSource.cpp:27:3: style: Class 'H265BufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/JPEGVideoRTPSink.cpp:55:29: style: C-style pointer casting [cstyleCast] live/liveMedia/JPEGVideoRTPSink.cpp:124:29: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoRTPSink.cpp:114:20: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoRTPSink.cpp:143:34: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoRTPSink.cpp:144:34: style: C-style pointer casting [cstyleCast] live/liveMedia/H265VideoRTPSink.cpp:145:34: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3Internals.hh:91:14: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3ADUTranscoder.cpp:70:34: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3ADUdescriptor.cpp:52:63: style: Parameter 'fromPtr' can be declared as pointer to const [constParameterReference] live/liveMedia/MP3ADU.cpp:56:3: warning: Member variable 'SegmentQueue::s' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3ADU.cpp:56:3: warning: Member variable 'SegmentQueue::fUsingSource' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3ADU.cpp:39:12: style:inconclusive: Technically the member function 'Segment::dataHere' can be const. [functionConst] live/liveMedia/MP3ADU.cpp:500:19: note: Technically the member function 'Segment::dataHere' can be const. live/liveMedia/MP3ADU.cpp:39:12: note: Technically the member function 'Segment::dataHere' can be const. live/liveMedia/MP3ADU.cpp:64:12: style:inconclusive: Technically the member function 'SegmentQueue::headIndex' can be const. [functionConst] live/liveMedia/MP3ADU.cpp:67:12: style:inconclusive: Technically the member function 'SegmentQueue::nextFreeIndex' can be const. [functionConst] live/liveMedia/MP3ADU.cpp:75:12: style:inconclusive: Technically the member function 'SegmentQueue::totalDataSize' can be const. [functionConst] live/liveMedia/MP3ADU.cpp:532:28: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3ADU.cpp:470:11: style: Local variable 'bytesToZero' shadows outer variable [shadowVariable] live/liveMedia/MP3ADU.cpp:441:14: note: Shadowed declaration live/liveMedia/MP3ADU.cpp:470:11: note: Shadow variable live/liveMedia/JPEGVideoRTPSource.cpp:223:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] live/liveMedia/MP3ADUinterleaving.cpp:404:23: warning: Member variable 'DeinterleavingFrames::fIIlastSeen' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3ADUinterleaving.cpp:325:3: warning: Member variable 'InterleavingFrameDescriptor::durationInMicroseconds' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3ADUinterleaving.cpp:325:3: warning: Member variable 'InterleavingFrameDescriptor::frameData' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3ADUinterleaving.cpp:395:3: warning: Member variable 'DeinterleavingFrameDescriptor::durationInMicroseconds' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3ADUinterleaving.cpp:88:11: style:inconclusive: Technically the member function 'InterleavingFrames::haveReleaseableFrame' can be const. [functionConst] live/liveMedia/MP3ADUinterleaving.cpp:341:29: note: Technically the member function 'InterleavingFrames::haveReleaseableFrame' can be const. live/liveMedia/MP3ADUinterleaving.cpp:88:11: note: Technically the member function 'InterleavingFrames::haveReleaseableFrame' can be const. live/liveMedia/MP3ADUinterleaving.cpp:101:12: style:inconclusive: Technically the member function 'InterleavingFrames::nextIndexToRelease' can be const. [functionConst] live/liveMedia/MP3ADUinterleaving.cpp:335:5: warning: Class 'InterleavingFrames' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/MP3ADUinterleaving.cpp:335:5: warning: Class 'InterleavingFrames' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/MP3ADUinterleaving.cpp:407:5: warning: Class 'DeinterleavingFrames' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/MP3ADUinterleaving.cpp:407:5: warning: Class 'DeinterleavingFrames' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/MP3ADUinterleaving.cpp:85:3: style: Class 'InterleavingFrames' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/MP3ADUinterleaving.cpp:71:44: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:97:40: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:99:19: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:103:23: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:107:38: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:110:23: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:126:4: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3AudioFileServerMediaSubsession.cpp:140:4: style: C-style pointer casting [cstyleCast] live/liveMedia/JPEGVideoRTPSource.cpp:409:14: style: The if condition is the same as the previous if condition [duplicateCondition] live/liveMedia/JPEGVideoRTPSource.cpp:367:14: note: First condition live/liveMedia/JPEGVideoRTPSource.cpp:409:14: note: Second condition live/liveMedia/JPEGVideoRTPSource.cpp:428:4: style: C-style pointer casting [cstyleCast] live/liveMedia/JPEGVideoRTPSource.cpp:217:14: style: Local variable 'tableSize' shadows outer variable [shadowVariable] live/liveMedia/JPEGVideoRTPSource.cpp:208:12: note: Shadowed declaration live/liveMedia/JPEGVideoRTPSource.cpp:217:14: note: Shadow variable live/liveMedia/JPEGVideoRTPSource.cpp:223:13: style: Variable 'qtables' is assigned a value that is never used. [unreadVariable] live/liveMedia/MP3AudioMatroskaFileServerMediaSubsession.cpp:51:4: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3StreamState.hh:43:3: style: Class 'MP3StreamState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/MP3FileSource.cpp:128:5: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3InternalsHuffman.hh:44:3: style: Class 'MP3HuffmanEncodingInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::hdr' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::frameBytes' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::layer' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::bitrate' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::samplingFreq' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::frameSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::sideInfoSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::bitrateIndex' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::samplingFreqIndex' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::mode' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::mode_ext' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::emphasis' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.cpp:99:17: warning: Member variable 'MP3FrameParams::stereo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3Internals.hh:121:12: style:inconclusive: Technically the member function 'MP3FrameParams::computeSideInfoSize' can be const. [functionConst] live/liveMedia/MP3Internals.cpp:203:26: note: Technically the member function 'MP3FrameParams::computeSideInfoSize' can be const. live/liveMedia/MP3Internals.hh:121:12: note: Technically the member function 'MP3FrameParams::computeSideInfoSize' can be const. live/liveMedia/MP3Internals.cpp:137:46: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] live/liveMedia/MP3Internals.cpp:46:7: style: struct member 'bandInfoStruct::longDiff' is never used. [unusedStructMember] live/liveMedia/MP3Internals.cpp:47:7: style: struct member 'bandInfoStruct::shortIdx' is never used. [unusedStructMember] live/liveMedia/MP3Internals.cpp:48:7: style: struct member 'bandInfoStruct::shortDiff' is never used. [unusedStructMember] live/liveMedia/MPEGVideoStreamParser.hh:114:12: style:inconclusive: Technically the member function 'MPEGVideoStreamParser::curFrameSize' can be const. [functionConst] live/liveMedia/H264or5VideoStreamFramer.cpp:46:11: style:inconclusive: Technically the member function 'H264or5VideoStreamParser::isSEI' can be const. [functionConst] live/liveMedia/H264or5VideoStreamFramer.cpp:164:35: note: Technically the member function 'H264or5VideoStreamParser::isSEI' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:46:11: note: Technically the member function 'H264or5VideoStreamParser::isSEI' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:47:11: style:inconclusive: Technically the member function 'H264or5VideoStreamParser::isEOF' can be const. [functionConst] live/liveMedia/H264or5VideoStreamFramer.cpp:170:35: note: Technically the member function 'H264or5VideoStreamParser::isEOF' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:47:11: note: Technically the member function 'H264or5VideoStreamParser::isEOF' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:48:11: style:inconclusive: Technically the member function 'H264or5VideoStreamParser::usuallyBeginsAccessUnit' can be const. [functionConst] live/liveMedia/H264or5VideoStreamFramer.cpp:177:35: note: Technically the member function 'H264or5VideoStreamParser::usuallyBeginsAccessUnit' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:48:11: note: Technically the member function 'H264or5VideoStreamParser::usuallyBeginsAccessUnit' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:50:8: style:inconclusive: Technically the member function 'H264or5VideoStreamParser::removeEmulationBytes' can be const. [functionConst] live/liveMedia/H264or5VideoStreamFramer.cpp:186:3: note: Technically the member function 'H264or5VideoStreamParser::removeEmulationBytes' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:50:8: note: Technically the member function 'H264or5VideoStreamParser::removeEmulationBytes' can be const. live/liveMedia/H264or5VideoStreamFramer.cpp:54:8: performance:inconclusive: Technically the member function 'H264or5VideoStreamParser::profile_tier_level' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/H264or5VideoStreamFramer.cpp:314:32: note: Technically the member function 'H264or5VideoStreamParser::profile_tier_level' can be static (but you may consider moving to unnamed namespace). live/liveMedia/H264or5VideoStreamFramer.cpp:54:8: note: Technically the member function 'H264or5VideoStreamParser::profile_tier_level' can be static (but you may consider moving to unnamed namespace). live/liveMedia/MPEGVideoStreamParser.hh:37:12: style: The destructor '~MPEGVideoStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/MPEGVideoStreamParser.hh:37:12: note: Destructor in derived class live/liveMedia/MPEGVideoStreamParser.hh:119:16: style: The function 'restoreSavedParserState' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:44:16: note: Virtual function in base class live/liveMedia/MPEGVideoStreamParser.hh:119:16: note: Function in derived class live/liveMedia/H264or5VideoStreamFramer.cpp:31:12: style: The destructor '~H264or5VideoStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/MPEGVideoStreamParser.hh:37:12: note: Virtual destructor in base class live/liveMedia/H264or5VideoStreamFramer.cpp:31:12: note: Destructor in derived class live/liveMedia/H264or5VideoStreamFramer.cpp:34:16: style: The function 'flushInput' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:30:16: note: Virtual function in base class live/liveMedia/H264or5VideoStreamFramer.cpp:34:16: note: Function in derived class live/liveMedia/H264or5VideoStreamFramer.cpp:35:20: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/MPEGVideoStreamParser.hh:42:20: note: Virtual function in base class live/liveMedia/H264or5VideoStreamFramer.cpp:35:20: note: Function in derived class live/liveMedia/H264or5VideoStreamFramer.cpp:344:5: style: Redundant assignment of 'aspect_ratio_idc' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:390:5: style: Redundant assignment of 'num_units_in_tick' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:392:5: style: Redundant assignment of 'time_scale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:401:2: style: Redundant assignment of 'vui_num_ticks_poc_diff_one_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:424:3: style: Redundant assignment of 'cpb_cnt_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:426:3: style: Redundant assignment of 'bit_rate_scale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:428:3: style: Redundant assignment of 'cpb_size_scale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:431:5: style: Redundant assignment of 'SchedSelIdx' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:433:5: style: Redundant assignment of 'bit_rate_value_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:435:5: style: Redundant assignment of 'cpb_size_value_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:440:3: style: Redundant assignment of 'initial_cpb_removal_delay_length_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:442:3: style: Redundant assignment of 'cpb_removal_delay_length_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:444:3: style: Redundant assignment of 'dpb_output_delay_length_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:446:3: style: Redundant assignment of 'time_offset_length' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:465:3: style: Redundant assignment of 'vps_max_sub_layers_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:477:3: style: Redundant assignment of 'vps_max_layer_id' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:479:3: style: Redundant assignment of 'vps_num_layer_sets_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:488:5: style: Redundant assignment of 'num_units_in_tick' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:490:5: style: Redundant assignment of 'time_scale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:495:7: style: Redundant assignment of 'vps_num_ticks_poc_diff_one_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:516:5: style: Redundant assignment of 'profile_idc' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:518:5: style: Redundant assignment of 'constraint_setN_flag' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:520:5: style: Redundant assignment of 'level_idc' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:522:5: style: Redundant assignment of 'seq_parameter_set_id' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:526:7: style: Redundant assignment of 'chroma_format_idc' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:540:4: style: Redundant assignment of 'i' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:550:8: style: Redundant assignment of 'j' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:551:8: style: Redundant assignment of 'nextScale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:555:3: style: Redundant assignment of 'delta_scale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:559:8: style: Redundant assignment of 'lastScale' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:566:5: style: Redundant assignment of 'log2_max_frame_num_minus4' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:568:5: style: Redundant assignment of 'pic_order_cnt_type' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:572:7: style: Redundant assignment of 'log2_max_pic_order_cnt_lsb_minus4' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:579:7: style: Redundant assignment of 'num_ref_frames_in_pic_order_cnt_cycle' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:585:5: style: Redundant assignment of 'max_num_ref_frames' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:589:5: style: Redundant assignment of 'pic_width_in_mbs_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:591:5: style: Redundant assignment of 'pic_height_in_map_units_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:618:5: style: Redundant assignment of 'sps_max_sub_layers_minus1' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:623:5: style: Redundant assignment of 'chroma_format_idc' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:626:5: style: Redundant assignment of 'pic_width_in_luma_samples' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:628:5: style: Redundant assignment of 'pic_height_in_luma_samples' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:634:7: style: Redundant assignment of 'conf_win_left_offset' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:636:7: style: Redundant assignment of 'conf_win_right_offset' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:638:7: style: Redundant assignment of 'conf_win_top_offset' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:640:7: style: Redundant assignment of 'conf_win_bottom_offset' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:669:4: style: Redundant assignment of 'sizeId' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:672:6: style: Redundant assignment of 'matrixId' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:701:5: style: Redundant assignment of 'num_short_term_ref_pic_sets' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:707:7: style: Redundant assignment of 'i' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:723:4: style: Redundant assignment of 'j' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:731:2: style: Redundant assignment of 'num_negative_pics' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:734:2: style: Redundant assignment of 'num_positive_pics' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:751:7: style: Redundant assignment of 'num_long_term_ref_pics_sps' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:893:7: style: Redundant assignment of 'cpb_removal_delay' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:895:7: style: Redundant assignment of 'dpb_output_delay' to itself. [selfAssignment] live/liveMedia/H264or5VideoStreamFramer.cpp:899:7: style: Redundant assignment of 'pic_struct' to itself. [selfAssignment] live/liveMedia/MPEG1or2AudioStreamFramer.cpp:164:3: warning: Member variable 'MPEG1or2AudioStreamParser::fTo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG1or2AudioStreamFramer.cpp:164:3: warning: Member variable 'MPEG1or2AudioStreamParser::fMaxSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG1or2AudioStreamFramer.cpp:32:12: style: The destructor '~MPEG1or2AudioStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/MPEG1or2AudioStreamFramer.cpp:32:12: note: Destructor in derived class live/liveMedia/MP3StreamState.cpp:34:17: warning: Member variable 'MP3StreamState::fFileSize' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3StreamState.cpp:34:17: warning: Member variable 'MP3StreamState::fNumFramesInFile' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3StreamState.hh:59:12: style:inconclusive: Technically the member function 'MP3StreamState::getByteNumberFromPositionFraction' can be const. [functionConst] live/liveMedia/MP3StreamState.cpp:93:26: note: Technically the member function 'MP3StreamState::getByteNumberFromPositionFraction' can be const. live/liveMedia/MP3StreamState.hh:59:12: note: Technically the member function 'MP3StreamState::getByteNumberFromPositionFraction' can be const. live/liveMedia/MPEG1or2AudioStreamFramer.cpp:126:39: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3StreamState.cpp:160:23: style: Condition 'resultFrameSize>=4' is always true [knownConditionTrueFalse] live/liveMedia/MP3StreamState.cpp:147:23: note: Assignment 'resultFrameSize=4+fr().frameSize', assigned value is greater than 3 live/liveMedia/MP3StreamState.cpp:149:18: note: Assuming condition is false live/liveMedia/MP3StreamState.cpp:160:23: note: Condition 'resultFrameSize>=4' is always true live/liveMedia/MP3StreamState.cpp:186:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/MP3StreamState.cpp:186:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/MP3StreamState.cpp:186:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/MP3StreamState.cpp:186:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/MP3StreamState.cpp:362:10: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3StreamState.cpp:379:17: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3StreamState.cpp:285:7: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] live/liveMedia/MP3StreamState.cpp:161:15: style: Variable 'hdr' can be declared as reference to const [constVariableReference] live/liveMedia/MP3StreamState.cpp:403:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] live/liveMedia/MP3StreamState.cpp:436:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] live/liveMedia/MP3StreamState.cpp:436:40: style: Variable 'bytesAvailable' is assigned a value that is never used. [unreadVariable] live/liveMedia/MPEG1or2DemuxedElementaryStream.cpp:70:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp:88:9: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp:105:41: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp:108:41: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp:114:43: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp:124:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2FileServerDemux.cpp:214:17: warning: Member variable 'MFSD_DummySink::fBuf' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG1or2FileServerDemux.cpp:46:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2FileServerDemux.cpp:204:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2FileServerDemux.cpp:235:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2VideoRTPSource.cpp:48:29: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2VideoRTPSource.cpp:69:28: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2VideoRTPSink.cpp:124:11: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2VideoRTPSink.cpp:162:45: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2VideoStreamFramer.cpp:123:3: warning: Member variable 'MPEG1or2VideoStreamParser::fSavedVSHBuffer' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG1or2VideoStreamFramer.cpp:123:3: warning: Member variable 'MPEG1or2VideoStreamParser::fSavedVSHTimestamp' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG1or2VideoStreamFramer.cpp:45:12: style: The destructor '~MPEG1or2VideoStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/MPEGVideoStreamParser.hh:37:12: note: Virtual destructor in base class live/liveMedia/MPEG1or2VideoStreamFramer.cpp:45:12: note: Destructor in derived class live/liveMedia/MPEG1or2VideoStreamFramer.cpp:48:16: style: The function 'flushInput' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:30:16: note: Virtual function in base class live/liveMedia/MPEG1or2VideoStreamFramer.cpp:48:16: note: Function in derived class live/liveMedia/MPEG1or2VideoStreamFramer.cpp:49:20: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/MPEGVideoStreamParser.hh:42:20: note: Virtual function in base class live/liveMedia/MPEG1or2VideoStreamFramer.cpp:49:20: note: Function in derived class live/liveMedia/MPEG1or2VideoStreamFramer.cpp:463:11: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2Demux.cpp:38:12: style: The destructor '~MPEGProgramStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/MPEG1or2Demux.cpp:38:12: note: Destructor in derived class live/liveMedia/MPEG1or2Demux.cpp:221:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2Demux.cpp:290:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2Demux.cpp:343:17: style: The scope of the variable 'acquiredStreamTagId' can be reduced. [variableScope] live/liveMedia/MPEG1or2Demux.cpp:386:12: style: The scope of the variable 'first4Bytes' can be reduced. [variableScope] live/liveMedia/MPEG2TransportFileServerMediaSubsession.cpp:63:4: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportFileServerMediaSubsession.cpp:185:0: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportFileServerMediaSubsession.cpp:219:0: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportFileServerMediaSubsession.cpp:342:36: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamAccumulator.cpp:64:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG1or2VideoStreamDiscreteFramer.cpp:69:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamFramer.cpp:89:23: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamFramer.cpp:135:40: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamFramer.cpp:233:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamFramer.cpp:238:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamFramer.cpp:250:12: style: The scope of the variable 'meanPCRPeriod' can be reduced. [variableScope] live/liveMedia/MPEG2TransportStreamFramer.cpp:250:26: style: Variable 'meanPCRPeriod' is assigned a value that is never used. [unreadVariable] live/liveMedia/MPEG2TransportStreamFromESSource.cpp:166:3: warning: Class 'InputESSourceRecord' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/MPEG2TransportStreamFromESSource.cpp:166:3: warning: Class 'InputESSourceRecord' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/MPEG2TransportStreamFromESSource.cpp:233:33: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamFromPESSource.cpp:60:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3InternalsHuffman.cpp:27:3: warning: Member variable 'MP3HuffmanEncodingInfo::numSamples' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3InternalsHuffman.cpp:27:3: warning: Member variable 'MP3HuffmanEncodingInfo::allBitOffsets' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3InternalsHuffman.cpp:27:3: warning: Member variable 'MP3HuffmanEncodingInfo::reg1Start' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3InternalsHuffman.cpp:27:3: warning: Member variable 'MP3HuffmanEncodingInfo::reg2Start' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3InternalsHuffman.cpp:27:3: warning: Member variable 'MP3HuffmanEncodingInfo::bigvalStart' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MP3InternalsHuffman.cpp:29:5: warning: Class 'MP3HuffmanEncodingInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/MP3InternalsHuffman.cpp:29:5: warning: Class 'MP3HuffmanEncodingInfo' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/MP3InternalsHuffman.cpp:365:5: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] live/liveMedia/MP3InternalsHuffman.cpp:376:5: warning: %u in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] live/liveMedia/MP3InternalsHuffman.cpp:353:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MP3InternalsHuffman.cpp:376:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MP3InternalsHuffman.cpp:549:17: style: C-style pointer casting [cstyleCast] live/liveMedia/MP3InternalsHuffman.cpp:505:16: style: Local variable 'slen' shadows outer variable [shadowVariable] live/liveMedia/MP3InternalsHuffman.cpp:434:28: note: Shadowed declaration live/liveMedia/MP3InternalsHuffman.cpp:505:16: note: Shadow variable live/liveMedia/MP3InternalsHuffman.cpp:448:67: style: Parameter 'gr_info' can be declared as pointer to const [constParameterPointer] live/liveMedia/MP3InternalsHuffman.cpp:548:24: style: Variable 'h' can be declared as pointer to const [constVariablePointer] live/liveMedia/MP3InternalsHuffman.cpp:608:20: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] live/liveMedia/MP3InternalsHuffman.cpp:608:16: 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] live/liveMedia/MP3InternalsHuffman.cpp:155:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] live/liveMedia/MP3InternalsHuffman.cpp:266:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] live/liveMedia/MPEG2TransportStreamTrickModeFilter.cpp:221:34: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamTrickModeFilter.cpp:240:49: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportStreamTrickModeFilter.cpp:259:49: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2IndexFromTransportStream.cpp:179:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2IndexFromTransportStream.cpp:287:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG2TransportUDPServerMediaSubsession.cpp:47:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4ESVideoRTPSink.cpp:77:42: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4ESVideoRTPSink.cpp:110:44: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4GenericRTPSink.cpp:76:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4GenericRTPSink.cpp:77:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4GenericRTPSink.cpp:78:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4LATMAudioRTPSink.cpp:51:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4VideoFileServerMediaSubsession.cpp:47:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4VideoFileServerMediaSubsession.cpp:60:7: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4VideoFileServerMediaSubsession.cpp:81:10: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4GenericRTPSource.cpp:29:3: style: Class 'MPEG4GenericBufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/MPEG4GenericRTPSource.cpp:199:41: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4LATMAudioRTPSource.cpp:27:3: style: Class 'LATMBufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/MPEG4LATMAudioRTPSource.cpp:121:37: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEGVideoStreamFramer.cpp:154:35: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEGVideoStreamParser.cpp:24:3: warning: Member variable 'MPEGVideoStreamParser::fStartOfFrame' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEGVideoStreamParser.cpp:24:3: warning: Member variable 'MPEGVideoStreamParser::fTo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEGVideoStreamParser.cpp:24:3: warning: Member variable 'MPEGVideoStreamParser::fLimit' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEGVideoStreamParser.cpp:24:3: warning: Member variable 'MPEGVideoStreamParser::fNumTruncatedBytes' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEGVideoStreamParser.cpp:24:3: warning: Member variable 'MPEGVideoStreamParser::fSavedTo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEGVideoStreamParser.cpp:24:3: warning: Member variable 'MPEGVideoStreamParser::fSavedNumTruncatedBytes' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG2TransportStreamMultiplexor.cpp:86:65: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaDemuxedTrack.cpp:44:18: style: Variable 'track' can be declared as pointer to const [constVariablePointer] live/liveMedia/MPEG4VideoStreamFramer.cpp:160:3: warning: Member variable 'MPEG4VideoStreamParser::fNumBitsSeenSoFar' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MPEG4VideoStreamFramer.cpp:48:12: style: The destructor '~MPEG4VideoStreamParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/MPEGVideoStreamParser.hh:37:12: note: Virtual destructor in base class live/liveMedia/MPEG4VideoStreamFramer.cpp:48:12: note: Destructor in derived class live/liveMedia/MPEG4VideoStreamFramer.cpp:51:16: style: The function 'flushInput' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:30:16: note: Virtual function in base class live/liveMedia/MPEG4VideoStreamFramer.cpp:51:16: note: Function in derived class live/liveMedia/MPEG4VideoStreamFramer.cpp:52:20: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/MPEGVideoStreamParser.hh:42:20: note: Virtual function in base class live/liveMedia/MPEG4VideoStreamFramer.cpp:52:20: note: Function in derived class live/liveMedia/MPEG4VideoStreamFramer.cpp:432:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/MPEG4VideoStreamFramer.cpp:432:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/MPEG4VideoStreamFramer.cpp:655:12: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4VideoStreamFramer.cpp:648:17: style: Local variable 'next4Bytes' shadows outer variable [shadowVariable] live/liveMedia/MPEG4VideoStreamFramer.cpp:531:13: note: Shadowed declaration live/liveMedia/MPEG4VideoStreamFramer.cpp:648:17: note: Shadow variable live/liveMedia/MatroskaFileServerDemux.cpp:113:4: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileServerMediaSubsession.cpp:46:20: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileServerMediaSubsession.cpp:48:4: style: C-style pointer casting [cstyleCast] live/liveMedia/Media.cpp:132:27: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4VideoStreamDiscreteFramer.cpp:60:44: style: C-style pointer casting [cstyleCast] live/liveMedia/MPEG4VideoStreamDiscreteFramer.cpp:137:18: style: Local variable 'i' shadows outer variable [shadowVariable] live/liveMedia/MPEG4VideoStreamDiscreteFramer.cpp:72:14: note: Shadowed declaration live/liveMedia/MPEG4VideoStreamDiscreteFramer.cpp:137:18: note: Shadow variable live/liveMedia/MPEG4VideoStreamDiscreteFramer.cpp:123:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] live/liveMedia/MediaSink.cpp:51:16: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSink.cpp:74:13: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSink.cpp:93:21: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSink.cpp:146:11: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSink.cpp:165:10: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSink.cpp:181:11: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSource.cpp:81:18: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSink.cpp:233:30: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSink.cpp:415:76: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSink.cpp:421:30: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSink.cpp:426:30: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSource.cpp:489:3: warning: Member variable 'ReorderingPacketBuffer::fNextExpectedSeqNo' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/MultiFramedRTPSource.cpp:31:3: style: Class 'ReorderingPacketBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/MultiFramedRTPSource.cpp:123:9: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSource.cpp:207:10: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSource.cpp:263:30: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSource.cpp:265:36: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSource.cpp:266:31: style: C-style pointer casting [cstyleCast] live/liveMedia/MultiFramedRTPSource.cpp:292:32: style: C-style pointer casting [cstyleCast] live/liveMedia/OggDemuxedTrack.cpp:40:13: style: Variable 'track' can be declared as pointer to const [constVariablePointer] live/liveMedia/OggFileParser.hh:62:11: style:inconclusive: Technically the member function 'OggFileParser::needHeaders' can be const. [functionConst] live/liveMedia/OggFileParser.hh:40:3: style: Class 'PacketSizeTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/OggFileParser.hh:55:12: style: The destructor '~OggFileParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/OggFileParser.hh:55:12: note: Destructor in derived class live/liveMedia/OggFile.cpp:61:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:147:19: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:153:12: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:157:4: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:173:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:186:19: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:194:7: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:199:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:251:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:259:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:264:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:290:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:302:4: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFile.cpp:318:17: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:138:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:140:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:144:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:146:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:148:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:281:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:295:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:309:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:337:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:352:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:369:22: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:415:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:1025:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:1028:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:1030:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:1065:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:1119:26: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/MediaSession.cpp:55:19: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:72:15: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:157:15: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:163:25: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:423:10: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:633:18: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:765:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:787:26: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:795:23: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:831:0: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:871:24: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:878:24: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:885:24: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:911:13: style: C-style pointer casting [cstyleCast] live/liveMedia/MediaSession.cpp:984:27: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileServerDemux.cpp:99:4: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileSink.cpp:224:16: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileSink.cpp:262:4: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileParser.hh:74:11: performance:inconclusive: Technically the member function 'OggFileParser::validateHeader' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/OggFileParser.cpp:677:24: note: Technically the member function 'OggFileParser::validateHeader' can be static (but you may consider moving to unnamed namespace). live/liveMedia/OggFileParser.hh:74:11: note: Technically the member function 'OggFileParser::validateHeader' can be static (but you may consider moving to unnamed namespace). live/liveMedia/OggFileParser.cpp:282:12: style:inconclusive: Technically the member function 'LEBitVector::numBitsRemaining' can be const. [functionConst] live/liveMedia/OggFileParser.cpp:28:3: warning: Class 'PacketSizeTable' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/OggFileParser.cpp:28:3: warning: Class 'PacketSizeTable' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/OggFileParser.cpp:377:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:377:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:389:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:435:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:488:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:506:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:552:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:578:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:578:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:580:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:580:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:646:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:684:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:737:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:737:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:758:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/OggFileParser.cpp:61:4: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileParser.cpp:137:17: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileParser.cpp:197:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileParser.cpp:200:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileParser.cpp:785:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OggFileParser.cpp:360:22: style: Redundant assignment of 'codewordLength' to itself. [selfAssignment] live/liveMedia/OggFileParser.cpp:360:22: style: Variable 'codewordLength' is assigned a value that is never used. [unreadVariable] live/liveMedia/PassiveServerMediaSubsession.cpp:55:32: style: C-style pointer casting [cstyleCast] live/liveMedia/PassiveServerMediaSubsession.cpp:120:14: style: C-style pointer casting [cstyleCast] live/liveMedia/PassiveServerMediaSubsession.cpp:165:0: style: C-style pointer casting [cstyleCast] live/liveMedia/PassiveServerMediaSubsession.cpp:192:32: style: C-style pointer casting [cstyleCast] live/liveMedia/PassiveServerMediaSubsession.cpp:219:30: style: C-style pointer casting [cstyleCast] live/liveMedia/PassiveServerMediaSubsession.cpp:225:0: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:1302:3: error: Non-local variable 'fCurFrameTo' will use pointer to local variable 'c'. [danglingLifetime] live/liveMedia/MatroskaFileParser.cpp:1116:31: note: Address of variable taken here. live/liveMedia/MatroskaFileParser.cpp:1116:31: note: Calling function 'getCommonFrameBytes', 2nd argument '&c' value is lifetime=c live/liveMedia/MatroskaFileParser.cpp:1278:38: note: Assuming condition is false live/liveMedia/MatroskaFileParser.cpp:1115:13: note: Variable created here. live/liveMedia/MatroskaFileParser.cpp:1302:3: note: Non-local variable 'fCurFrameTo' will use pointer to local variable 'c'. live/liveMedia/MatroskaFileParser.hh:51:12: style: The destructor '~MatroskaFileParser' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:41:12: note: Virtual destructor in base class live/liveMedia/MatroskaFileParser.hh:51:12: note: Destructor in derived class live/liveMedia/MatroskaFileParser.hh:95:16: style: The function 'restoreSavedParserState' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] live/liveMedia/StreamParser.hh:44:16: note: Virtual function in base class live/liveMedia/MatroskaFileParser.hh:95:16: note: Function in derived class live/liveMedia/MatroskaFileParser.cpp:89:4: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:673:23: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:676:28: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:679:27: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:682:28: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:685:27: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:688:27: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:1488:38: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:1496:38: style: C-style pointer casting [cstyleCast] live/liveMedia/MatroskaFileParser.cpp:166:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] live/liveMedia/MatroskaFileParser.cpp:476:11: style: The scope of the variable 'codecPrivateSize' can be reduced. [variableScope] live/liveMedia/MatroskaFileParser.cpp:641:11: style: The scope of the variable 'headerStrippedBytesSize' can be reduced. [variableScope] live/liveMedia/MatroskaFileParser.cpp:665:11: style: The scope of the variable 'colourSpaceSize' can be reduced. [variableScope] live/liveMedia/MatroskaFileParser.cpp:1023:13: style: Local variable 'c' shadows outer variable [shadowVariable] live/liveMedia/MatroskaFileParser.cpp:968:14: note: Shadowed declaration live/liveMedia/MatroskaFileParser.cpp:1023:13: note: Shadow variable live/liveMedia/MatroskaFileParser.cpp:1340:67: style: Parameter 'size' can be declared as reference to const [constParameterReference] live/liveMedia/MatroskaFileParser.cpp:1394:63: style: Parameter 'size' can be declared as reference to const [constParameterReference] live/liveMedia/MatroskaFileParser.cpp:1419:63: style: Parameter 'size' can be declared as reference to const [constParameterReference] live/liveMedia/MatroskaFileParser.cpp:961:20: style: Variable 'track' can be declared as pointer to const [constVariablePointer] live/liveMedia/OnDemandServerMediaSubsession.cpp:51:9: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:106:22: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:107:23: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:108:8: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:203:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:214:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:216:7: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:235:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:246:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:261:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:271:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:291:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:301:32: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:316:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:329:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:336:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:340:7: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:342:0: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:417:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:466:12: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:476:30: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:514:59: style: C-style pointer casting [cstyleCast] live/liveMedia/OnDemandServerMediaSubsession.cpp:142:19: style: Local variable 'serverPortNum' shadows outer variable [shadowVariable] live/liveMedia/OnDemandServerMediaSubsession.cpp:124:19: note: Shadowed declaration live/liveMedia/OnDemandServerMediaSubsession.cpp:142:19: note: Shadow variable live/liveMedia/ProxyServerMediaSession.cpp:39:37: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:56:40: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:206:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:211:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:216:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:226:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:387:84: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:421:33: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:459:33: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:480:33: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:485:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:516:12: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:520:40: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:543:13: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:640:42: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:774:61: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:776:20: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:784:44: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:791:44: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:796:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:812:40: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:908:4: style: C-style pointer casting [cstyleCast] live/liveMedia/ProxyServerMediaSession.cpp:925:77: style: C-style pointer casting [cstyleCast] live/liveMedia/QCELPAudioRTPSource.cpp:279:12: performance:inconclusive: Technically the member function 'QCELPDeinterleavingBuffer::inputBufferSize' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/QCELPAudioRTPSource.cpp:389:3: warning: Class 'QCELPDeinterleavingBuffer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/QCELPAudioRTPSource.cpp:389:3: warning: Class 'QCELPDeinterleavingBuffer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/QCELPAudioRTPSource.cpp:124:3: style: Class 'QCELPBufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/QCELPAudioRTPSource.cpp:363:39: style: C-style pointer casting [cstyleCast] live/liveMedia/QCELPAudioRTPSource.cpp:369:31: style: C-style pointer casting [cstyleCast] live/liveMedia/QCELPAudioRTPSource.cpp:183:23: style: Local variable 'interleaveL' shadows outer function [shadowFunction] live/liveMedia/QCELPAudioRTPSource.cpp:39:17: note: Shadowed declaration live/liveMedia/QCELPAudioRTPSource.cpp:183:23: note: Shadow variable live/liveMedia/QCELPAudioRTPSource.cpp:184:23: style: Local variable 'interleaveN' shadows outer function [shadowFunction] live/liveMedia/QCELPAudioRTPSource.cpp:40:17: note: Shadowed declaration live/liveMedia/QCELPAudioRTPSource.cpp:184:23: note: Shadow variable live/liveMedia/QCELPAudioRTPSource.cpp:167:18: style: Variable 'headerStart' can be declared as pointer to const [constVariablePointer] live/liveMedia/QuickTimeGenericRTPSource.cpp:31:3: style: Class 'QTGenericBufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/QuickTimeGenericRTPSource.cpp:77:12: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:33:3: style: Class 'RTCPMemberDatabase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/RTCP.cpp:43:27: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:54:17: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:60:41: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:169:9: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:203:25: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:234:9: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:268:20: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:313:37: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:323:7: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:354:20: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:380:7: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:394:7: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:519:31: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:542:33: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:562:29: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:563:29: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:564:35: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:590:44: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:593:45: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:594:51: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:595:42: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:596:46: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:597:51: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:810:24: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1151:5: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1181:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1197:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1204:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1211:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1218:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1225:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1232:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1239:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1246:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1253:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:1272:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTCP.cpp:640:14: style: The scope of the variable 'subtype' can be reduced. [variableScope] live/liveMedia/RTPSink.cpp:38:16: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSink.cpp:71:12: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSink.cpp:178:19: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSink.cpp:211:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSink.cpp:235:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSink.cpp:240:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSink.cpp:297:27: style: The comparison 'fTotalOctetCount_lo < prevTotalOctetCount_lo' is always false because 'fTotalOctetCount_lo' and 'prevTotalOctetCount_lo' represent the same value. [knownConditionTrueFalse] live/liveMedia/RTPSink.cpp:295:38: note: 'prevTotalOctetCount_lo' is assigned value 'fTotalOctetCount_lo' here. live/liveMedia/RTPSink.cpp:297:27: note: The comparison 'fTotalOctetCount_lo < prevTotalOctetCount_lo' is always false because 'fTotalOctetCount_lo' and 'prevTotalOctetCount_lo' represent the same value. live/liveMedia/RTPSink.cpp:306:28: style: The comparison 'fTotalPacketCount_lo < prevTotalPacketCount_lo' is always false because 'fTotalPacketCount_lo' and 'prevTotalPacketCount_lo' represent the same value. [knownConditionTrueFalse] live/liveMedia/RTPSink.cpp:304:39: note: 'prevTotalPacketCount_lo' is assigned value 'fTotalPacketCount_lo' here. live/liveMedia/RTPSink.cpp:306:28: note: The comparison 'fTotalPacketCount_lo < prevTotalPacketCount_lo' is always false because 'fTotalPacketCount_lo' and 'prevTotalPacketCount_lo' represent the same value. live/liveMedia/RTPInterface.cpp:82:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:83:40: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:87:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:101:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:354:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:368:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:413:28: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:442:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:448:9: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:456:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:465:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPInterface.cpp:149:25: style: Variable 'streams' can be declared as pointer to const [constVariablePointer] live/liveMedia/RTPSource.cpp:39:18: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSource.cpp:92:19: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSource.cpp:147:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSource.cpp:169:13: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSource.cpp:178:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSource.cpp:183:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTPSource.cpp:244:28: style: The comparison 'fTotBytesReceived_lo < prevTotBytesReceived_lo' is always false because 'fTotBytesReceived_lo' and 'prevTotBytesReceived_lo' represent the same value. [knownConditionTrueFalse] live/liveMedia/RTPSource.cpp:242:39: note: 'prevTotBytesReceived_lo' is assigned value 'fTotBytesReceived_lo' here. live/liveMedia/RTPSource.cpp:244:28: note: The comparison 'fTotBytesReceived_lo < prevTotBytesReceived_lo' is always false because 'fTotBytesReceived_lo' and 'prevTotBytesReceived_lo' represent the same value. live/liveMedia/RTPSource.cpp:252:22: style: Variable 'newSeqNum' is assigned a value that is never used. [unreadVariable] live/liveMedia/RTSPCommon.cpp:341:68: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] live/liveMedia/RTSPCommon.cpp:246:24: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPRegisterSender.cpp:106:48: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPRegisterSender.cpp:109:14: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPRegisterSender.cpp:186:52: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPRegisterSender.cpp:189:14: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTcomponentSubtype' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTcomponentName' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTMediaInformationAtomCreator' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTMediaDataAtomCreator' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTAudioDataType' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTSoundSampleVersion' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTTimeScale' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTTimeUnitsPerSample' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTBytesPerFrame' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTSamplesPerFrame' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTDurationM' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTDurationT' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fTKHD_durationPosn' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fQTInitialOffsetDuration' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:535:20: warning: Member variable 'SubsessionIOState::fHINF' is not initialized in the constructor. [uninitMemberVar] live/liveMedia/QuickTimeFileSink.cpp:65:5: warning: Class 'SubsessionBuffer' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/QuickTimeFileSink.cpp:65:5: warning: Class 'SubsessionBuffer' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/QuickTimeFileSink.cpp:544:3: warning: Class 'SubsessionIOState' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] live/liveMedia/QuickTimeFileSink.cpp:544:3: warning: Class 'SubsessionIOState' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] live/liveMedia/QuickTimeFileSink.cpp:62:3: style: Class 'SubsessionBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/QuickTimeFileSink.cpp:90:3: style: Class 'SyncFrame' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/QuickTimeFileSink.cpp:273:27: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:324:9: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:392:9: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:415:32: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:430:32: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:441:9: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:456:32: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:494:9: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:508:9: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:740:9: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:1037:38: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:1340:23: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:1354:23: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:1678:42: style: C-style pointer casting [cstyleCast] live/liveMedia/QuickTimeFileSink.cpp:2023:28: style: The scope of the variable 'numSamplesSoFar' can be reduced. [variableScope] live/liveMedia/QuickTimeFileSink.cpp:2149:22: style: Local variable 'chunk' shadows outer variable [shadowVariable] live/liveMedia/QuickTimeFileSink.cpp:2109:20: note: Shadowed declaration live/liveMedia/QuickTimeFileSink.cpp:2149:22: note: Shadow variable live/liveMedia/QuickTimeFileSink.cpp:2153:16: style: Local variable 'sampleSize' shadows outer variable [shadowVariable] live/liveMedia/QuickTimeFileSink.cpp:2129:12: note: Shadowed declaration live/liveMedia/QuickTimeFileSink.cpp:2153:16: note: Shadow variable live/liveMedia/QuickTimeFileSink.cpp:741:41: style: Variable 'qtState' can be declared as reference to const [constVariableReference] live/liveMedia/QuickTimeFileSink.cpp:1682:41: style: Variable 'qtState' can be declared as reference to const [constVariableReference] live/liveMedia/QuickTimeFileSink.cpp:440:24: style: Variable 'ioState' can be declared as pointer to const [constVariablePointer] live/liveMedia/QuickTimeFileSink.cpp:497:28: style: Variable 'headChunk' can be declared as pointer to const [constVariablePointer] live/liveMedia/QuickTimeFileSink.cpp:548:17: style: Variable 'subsessionSource' can be declared as pointer to const [constVariablePointer] live/liveMedia/QuickTimeFileSink.cpp:799:24: style: Variable 'frameSource' can be declared as pointer to const [constVariablePointer] live/liveMedia/QuickTimeFileSink.cpp:1121:25: style: Variable 'frameSource' can be declared as pointer to const [constVariablePointer] live/liveMedia/RTSPServerRegister.cpp:273:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPServerRegister.cpp:49:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:54:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:89:50: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:137:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:142:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:165:54: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:216:12: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerRegister.cpp:242:7: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:72:79: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:132:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:210:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:217:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:217:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:217:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:229:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:72:87: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:132:16: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:145:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:229:12: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:243:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:252:70: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPServerSupportingHTTPStreaming.cpp:259:7: style: C-style pointer casting [cstyleCast] live/liveMedia/RawVideoRTPSink.cpp:93:65: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] live/liveMedia/RawVideoRTPSink.cpp:81:10: warning:inconclusive: Possible null pointer dereference: offsets [nullPointer] live/liveMedia/RawVideoRTPSink.cpp:70:23: note: Assignment 'offsets=NULL', assigned value is 0 live/liveMedia/RawVideoRTPSink.cpp:81:10: note: Null pointer dereference live/liveMedia/RawVideoRTPSink.cpp:86:38: warning:inconclusive: Possible null pointer dereference: lengths [nullPointer] live/liveMedia/RawVideoRTPSink.cpp:69:24: note: Assignment 'lengths=NULL', assigned value is 0 live/liveMedia/RawVideoRTPSink.cpp:86:38: note: Null pointer dereference live/liveMedia/RawVideoRTPSink.cpp:87:48: warning:inconclusive: Possible null pointer dereference: lengths [nullPointer] live/liveMedia/RawVideoRTPSink.cpp:69:24: note: Assignment 'lengths=NULL', assigned value is 0 live/liveMedia/RawVideoRTPSink.cpp:87:48: note: Null pointer dereference live/liveMedia/RawVideoRTPSink.cpp:100:40: warning:inconclusive: Possible null pointer dereference: offsets [nullPointer] live/liveMedia/RawVideoRTPSink.cpp:70:23: note: Assignment 'offsets=NULL', assigned value is 0 live/liveMedia/RawVideoRTPSink.cpp:100:40: note: Null pointer dereference live/liveMedia/RawVideoRTPSink.cpp:101:48: warning:inconclusive: Possible null pointer dereference: offsets [nullPointer] live/liveMedia/RawVideoRTPSink.cpp:70:23: note: Assignment 'offsets=NULL', assigned value is 0 live/liveMedia/RawVideoRTPSink.cpp:101:48: note: Null pointer dereference live/liveMedia/RawVideoRTPSink.cpp:143:12: style: The scope of the variable 'remainingSizeInPacket' can be reduced. [variableScope] live/liveMedia/RawVideoRTPSource.cpp:27:3: style: Class 'RawVideoBufferedPacket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/RawVideoRTPSource.cpp:181:37: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:233:36: warning: %hhx in format string (no. 2) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] live/liveMedia/RTSPClient.cpp:489:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPClient.cpp:1787:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/RTSPClient.cpp:1063:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPClient.cpp:1137:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPClient.cpp:1161:37: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPClient.cpp:1343:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPClient.cpp:1347:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPClient.cpp:1350:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/RTSPClient.cpp:178:43: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:179:43: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:222:18: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:376:9: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:467:26: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:470:33: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:646:20: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:653:20: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:726:0: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:727:37: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:730:37: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:743:19: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:790:16: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:875:23: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:881:11: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:895:27: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:900:11: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1022:14: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1384:4: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1394:9: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1510:24: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1518:7: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1529:59: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1555:24: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1562:56: style: C-style pointer casting [cstyleCast] live/liveMedia/RTSPClient.cpp:1879:11: style: The scope of the variable 'resultCode' can be reduced. [variableScope] live/liveMedia/RTSPClient.cpp:1880:13: style: The scope of the variable 'resultString' can be reduced. [variableScope] live/liveMedia/RTSPClient.cpp:1691:58: style: Checking if unsigned expression 'cseq' is less than zero. [unsignedLessThanZero] live/liveMedia/SIPClient.cpp:278:5: warning: %d in format string (no. 17) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] live/liveMedia/SIPClient.cpp:504:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/SIPClient.cpp:506:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/SIPClient.cpp:509:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/SIPClient.cpp:537:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] live/liveMedia/SIPClient.cpp:89:31: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:133:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:134:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:135:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:143:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:148:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:151:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:190:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:330:23: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:341:23: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:351:23: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:361:23: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:538:11: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:620:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:736:32: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:897:38: style: C-style pointer casting [cstyleCast] live/liveMedia/SIPClient.cpp:914:29: style: C-style pointer casting [cstyleCast] live/liveMedia/SimpleRTPSink.cpp:42:12: style: C-style pointer casting [cstyleCast] live/liveMedia/SimpleRTPSource.cpp:51:12: style: C-style pointer casting [cstyleCast] live/liveMedia/ServerMediaSession.cpp:54:19: style: C-style pointer casting [cstyleCast] live/liveMedia/ServerMediaSession.cpp:352:12: style: C-style pointer casting [cstyleCast] live/liveMedia/StreamParser.hh:106:12: performance:inconclusive: Technically the member function 'StreamParser::bankSize' can be static (but you may consider moving to unnamed namespace). [functionStatic] live/liveMedia/StreamParser.cpp:115:24: note: Technically the member function 'StreamParser::bankSize' can be static (but you may consider moving to unnamed namespace). live/liveMedia/StreamParser.hh:106:12: note: Technically the member function 'StreamParser::bankSize' can be static (but you may consider moving to unnamed namespace). live/liveMedia/StreamParser.cpp:169:26: style: C-style pointer casting [cstyleCast] live/liveMedia/StreamParser.cpp:195:26: style: C-style pointer casting [cstyleCast] live/liveMedia/StreamReplicator.cpp:28:3: style: Class 'StreamReplica' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] live/liveMedia/StreamReplicator.cpp:210:4: style: C-style pointer casting [cstyleCast] live/liveMedia/StreamReplicator.cpp:226:4: style: C-style pointer casting [cstyleCast] live/liveMedia/T140TextRTPSink.cpp:105:32: style: C-style pointer casting [cstyleCast] live/liveMedia/T140TextRTPSink.cpp:113:4: style: C-style pointer casting [cstyleCast] live/liveMedia/T140TextRTPSink.cpp:142:4: style: C-style pointer casting [cstyleCast] live/liveMedia/T140TextRTPSink.cpp:176:4: style: C-style pointer casting [cstyleCast] live/liveMedia/TCPStreamSink.cpp:54:33: style: C-style pointer casting [cstyleCast] live/liveMedia/TCPStreamSink.cpp:82:25: style: C-style pointer casting [cstyleCast] live/liveMedia/TCPStreamSink.cpp:95:25: style: C-style pointer casting [cstyleCast] live/liveMedia/TCPStreamSink.cpp:110:25: style: C-style pointer casting [cstyleCast] live/liveMedia/TheoraVideoRTPSink.cpp:146:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] live/liveMedia/RTSPServer.cpp:713:36: warning: Invalid test for overflow 'tmpPtr+2+contentLength