Snippets for live555 2026.08.14 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/live555/2026.08.14/1.fc46/data/logs/i686/build.log.
-
H263plusVideoStreamParser.cpp:200:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] 200 | fprintf(stderr, "%s: Buffer too small (%ld)\n", | ~~^ | | | long int | %d -
MPEG4VideoStreamDiscreteFramer.cpp:125:18: warning: variable ‘modulo_time_base’ set but not used [-Wunused-but-set-variable=] 125 | unsigned modulo_time_base = 0; | ^~~~~~~~~~~~~~~~ -
VorbisAudioRTPSink.cpp:257:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 257 | if (identificationHeader != NULL) memmove(p, identificationHeader, identificationHeaderSize); p += identificationHeaderSize; | ^~ -
VorbisAudioRTPSink.cpp:258:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 258 | if (commentHeader != NULL) memmove(p, commentHeader, commentHeaderSize); p += commentHeaderSize; | ^~ -
Locale.cpp:33:22: warning: ‘categoryMask’ may be used uninitialized [-Wmaybe-uninitialized] 33 | fLocale = newlocale(categoryMask, newLocale, NULL); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MPEG2TransportStreamParser.cpp:191:14: warning: variable ‘PCR’ set but not used [-Wunused-but-set-variable=] 191 | double PCR = first32PCRBits/45000.0; | ^~~ -
MPEG2TransportStreamParser.cpp:203:14: warning: variable ‘OPCR’ set but not used [-Wunused-but-set-variable=] 203 | double OPCR = first32OPCRBits/45000.0; | ^~~~ -
MPEG2TransportStreamParser_STREAM.cpp:180:16: warning: variable ‘DTS’ set but not used [-Wunused-but-set-variable=] 180 | double DTS = dtsUpper32/45000.0; | ^~~ -
MPEG2TransportStreamParser_STREAM.cpp:251:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 251 | if (curOffset() - startPos > 9 + PES_header_data_length) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
SRTPCryptographicContext.cpp:517:24: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 517 | = numDataBytes < numBytesEncrypted ? numDataBytes : numBytesEncrypted; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
SRTPCryptographicContext.cpp:589:29: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 589 | = numBytesRemaining < numBytesEncrypted ? numBytesRemaining : numBytesEncrypted; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
MIKEY.cpp:161:44: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 161 | if (numCryptoSessions == 0 || dataSize < 10 + numCryptoSessions*(1+4+4)) break; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
RTCP.cpp:568:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 568 | if (length < 4) break; length -= 4; | ^~ -
RTCP.cpp:586:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 586 | if (length < 20) break; length -= 20; | ^~ -
MatroskaFile.cpp:714:42: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 714 | sprintf(sPropParameterSetsStr, "%s,%s", sps_base64, pps_base64); | ^~ -
MatroskaFile.cpp:714:42: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
-
MediaSession.cpp:1153:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1153 | if (strncmp(sdpLine, "a=fmtp:", 7) != 0) break; sdpLine += 7; | ^~ -
RTSPServer.cpp:1380:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1380 | if (ttlSeen) break; ttlSeen = True; | ^~ -
RTSPServer.cpp:1385:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1385 | if (clientPortSeen) break; clientPortSeen = True; | ^~ -
RTSPServer.cpp:1392:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1392 | if (clientPortSeen) break; clientPortSeen = True; | ^~ -
RTSPServer.cpp:1398:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1398 | if (interleavedSeen) break; interleavedSeen = True; | ^~ -
RTSPServer.cpp:688:15: warning: array subscript -3 is below array bounds of ‘unsigned char[20000]’ [-Warray-bounds=] 688 | fLastCRLF = &fRequestBuffer[-3]; // hack: Ensures that we don't think we have end-of-msg if the data starts with <CR><LF> | ^~~~~~~~~~~~~~~~~~~ -
OggFileParser.cpp:347:16: warning: variable ‘codewordLength’ set but not used [-Wunused-but-set-variable=] 347 | unsigned codewordLength; | ^~~~~~~~~~~~~~ -
OggFileParser.cpp:368:14: warning: variable ‘current_length’ set but not used [-Wunused-but-set-variable=] 368 | unsigned current_length = bv.getBits(5) + 1; | ^~~~~~~~~~~~~~ -
MatroskaFile.cpp:135:8: warning: type ‘struct DemuxRecord’ violates the C++ One Definition Rule [-Wodr] 135 | struct DemuxRecord { | ^ -
MPEG1or2Demux.cpp:29:6: warning: type ‘MPEGParseState’ violates the C++ One Definition Rule [-Wodr] 29 | enum MPEGParseState { | ^ -
inet.c:148:18: warning: ‘seps’ defined but not used [-Wunused-const-variable=] 148 | static int const seps [MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 }; | ^~~~ -
inet.c:147:18: warning: ‘degrees’ defined but not used [-Wunused-const-variable=] 147 | static int const degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 }; | ^~~~~~~ -
NetAddress.cpp:160:67: warning: comparison between two arrays is deprecated in C++20 [-Warray-compare] 160 | return ((struct sockaddr_in6 const&)left).sin6_addr.s6_addr == ((struct sockaddr_in6 const&)right).sin6_addr.s6_addr; | ^ -
mikeyParse.cpp:411:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] 411 | fprintf(stderr, "+%ld bytes of unparsed data: ", endPtr-ptr); | ~~^ ~~~~~~~~~~ | | | | long int int | %d