Snippets for live555 2026.06.24 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/live-media/live-media-2026.06.24-r0.log.
-
FileSink.cpp:100:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 100 | sprintf(fPerFrameFileNameBuffer, "%s-%lu.%06lu-%u", fPerFrameFileNamePrefix, | ~~^ | | | long unsigned int | %llu 101 | presentationTime.tv_sec, presentationTime.tv_usec, ++fSamePresentationTimeCounter); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} -
FileSink.cpp:100:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 100 | sprintf(fPerFrameFileNameBuffer, "%s-%lu.%06lu-%u", fPerFrameFileNamePrefix, | ~~~~^ | | | long unsigned int | %06llu 101 | presentationTime.tv_sec, presentationTime.tv_usec, ++fSamePresentationTimeCounter); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} -
FileSink.cpp:103:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 103 | sprintf(fPerFrameFileNameBuffer, "%s-%lu.%06lu", fPerFrameFileNamePrefix, | ~~^ | | | long unsigned int | %llu 104 | presentationTime.tv_sec, presentationTime.tv_usec); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} -
FileSink.cpp:103:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 103 | sprintf(fPerFrameFileNameBuffer, "%s-%lu.%06lu", fPerFrameFileNamePrefix, | ~~~~^ | | | long unsigned int | %06llu 104 | presentationTime.tv_sec, presentationTime.tv_usec); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | suseconds_t {aka long long int} -
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 -
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; | ^~ -
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; | ^~ -
MediaSession.cpp:1153:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1153 | if (strncmp(sdpLine, "a=fmtp:", 7) != 0) break; sdpLine += 7; | ^~ -
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) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Locale.cpp:33:22: warning: 'categoryMask' may be used uninitialized [-Wmaybe-uninitialized] 33 | fLocale = newlocale(categoryMask, newLocale, NULL); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OggFileParser.cpp:347:16: warning: variable 'codewordLength' set but not used [-Wunused-but-set-variable] 347 | unsigned codewordLength; | ^~~~~~~~~~~~~~ -
SRTPCryptographicContext.cpp:517:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 517 | = numDataBytes < numBytesEncrypted ? numDataBytes : 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; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
SRTPCryptographicContext.cpp:589:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 589 | = numBytesRemaining < numBytesEncrypted ? numBytesRemaining : numBytesEncrypted; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:685:15: warning: array subscript -3 is below array bounds of 'unsigned char [20000]' [-Warray-bounds=] 685 | fLastCRLF = &fRequestBuffer[-3]; // hack: Ensures that we don't think we have end-of-msg if the data starts with <CR><LF> | ^~~~~~~~~~~~~~~~~~~ -
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; | ^ -
include/DelayQueue.hh:78:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 78 | return (time_base_seconds&)fTv.tv_sec; | ~~~~^~~~~~ -
include/DelayQueue.hh:81:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 81 | return (time_base_seconds&)fTv.tv_usec; | ~~~~^~~~~~~ -
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 -
../BasicUsageEnvironment/include/DelayQueue.hh:78:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 78 | return (time_base_seconds&)fTv.tv_sec; | ~~~~^~~~~~ -
../BasicUsageEnvironment/include/DelayQueue.hh:81:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 81 | return (time_base_seconds&)fTv.tv_usec; | ~~~~^~~~~~~ -
playCommon.cpp:1516:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 1516 | sprintf(timestampStr, "%ld%03ld", timeNow.tv_sec, (long)(timeNow.tv_usec/1000)); | ~~^ ~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld