Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
live555-2023.06.20-build/live/liveMedia/MPEGVideoStreamFramer.cpp: scope_hint: In member function ‘void MPEGVideoStreamFramer::setTimeCode(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)’
live555-2023.06.20-build/live/liveMedia/MPEGVideoStreamFramer.cpp:132:33: warning: C++20 says that these are ambiguous, even though the second is reversed:
#  132 |   } else if (fCurGOPTimeCode == fPrevGOPTimeCode) {
#      |                                 ^~~~~~~~~~~~~~~~
live555-2023.06.20-build/live/liveMedia/MPEGVideoStreamFramer.cpp:34:5: note: candidate 1: ‘int TimeCode::operator==(const TimeCode&)’
#   34 | int TimeCode::operator==(TimeCode const& arg2) {
#      |     ^~~~~~~~
live555-2023.06.20-build/live/liveMedia/MPEGVideoStreamFramer.cpp:34:5: note: candidate 2: ‘int TimeCode::operator==(const TimeCode&)’ (reversed)
live555-2023.06.20-build/live/liveMedia/MPEGVideoStreamFramer.cpp:34:5: note: try making the operator a ‘const’ member function
#  130|       fTcSecsBase = (((tc.days*24)+tc.hours)*60+tc.minutes)*60+tc.seconds;
#  131|       fHaveSeenFirstTimeCode = True;
#  132|->   } else if (fCurGOPTimeCode == fPrevGOPTimeCode) {
#  133|       // The time code has not changed since last time.  Adjust for this:
#  134|       fPicturesAdjustment += picturesSinceLastGOP;

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-144.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelive555-2024.05.05-1.fc41
diffbase-store-results-to/tmp/tmp7ae1v59n/live555-2024.05.05-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:10:52
diffbase-time-finished2024-07-03 16:13:01
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp7ae1v59n/live555-2024.05.05-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp7ae1v59n/live555-2024.05.05-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-144.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelive555-2023.06.20-4.fc40
store-results-to/tmp/tmpg00onc1f/live555-2023.06.20-4.fc40.tar.xz
time-created2024-07-03 16:08:09
time-finished2024-07-03 16:10:41
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpg00onc1f/live555-2023.06.20-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpg00onc1f/live555-2023.06.20-4.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9