Snippets for live555 2026.10.13 from FreeBSD 151amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/liveMedia/2026.10.13,2/151amd64-default.log.
-
include/DeviceSource.hh:63:20: warning: private field 'fParams' is not used [-Wunused-private-field] 63 | DeviceParameters fParams; | ^ -
MPEG1or2VideoStreamFramer.cpp:463:11: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 463 | << (void*)next4Bytes << "\n"; | ^~~~~~~~~~~~~~~~~ -
MPEG4VideoStreamFramer.cpp:655:12: warning: cast to 'void *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 655 | << (void*)next4Bytes << "\n"; | ^~~~~~~~~~~~~~~~~ -
MPEG4VideoStreamDiscreteFramer.cpp:125:11: warning: variable 'modulo_time_base' set but not used [-Wunused-but-set-variable] 125 | unsigned modulo_time_base = 0; | ^ -
MPEG2TransportStreamFramer.cpp:233:63: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 233 | PIDStatus* pidStatus = (PIDStatus*)(fPIDStatusTable->Lookup((char*)pid)); | ^~~~~~~~~~ -
MPEG2TransportStreamFramer.cpp:238:26: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 238 | fPIDStatusTable->Add((char*)pid, pidStatus); | ^~~~~~~~~~ -
MPEG1or2VideoRTPSink.cpp:124:11: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 124 | << (void*)startCode << ", but we're not a fragment\n"; | ^~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:274:50: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 274 | } while (fOurServer.fClientConnections->Lookup((char const*)fConnectionId) != NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:275:38: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 275 | fOurServer.fClientConnections->Add((char const*)fConnectionId, this); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:294:41: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 294 | fOurServer.fClientConnections->Remove((char const*)fConnectionId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
GenericMediaServer.cpp:343:63: warning: cast to 'const char *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-pointer-cast] 343 | return (class ClientConnection*)(fClientConnections->Lookup((char const*)connectionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:260:62: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 260 | = (streamingOverTCPRecord*)fTCPStreamingDatabase->Lookup((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:263:30: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 263 | fTCPStreamingDatabase->Add((char const*)socketNum, sotcpNew); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:270:62: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 270 | = (streamingOverTCPRecord*)fTCPStreamingDatabase->Lookup((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:291:37: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 291 | fTCPStreamingDatabase->Remove((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:294:34: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 294 | fTCPStreamingDatabase->Add((char const*)socketNum, sotcpHead); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:307:62: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 307 | = (streamingOverTCPRecord*)fTCPStreamingDatabase->Lookup((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:321:35: warning: cast to 'const char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 321 | fTCPStreamingDatabase->Remove((char const*)socketNum); | ^~~~~~~~~~~~~~~~~~~~~~ -
RTSPServer.cpp:688:16: warning: array index -3 is before the beginning of the array [-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> | ^ ~~ -
MediaSession.cpp:803:59: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 803 | Groupsock* existing = (Groupsock*)socketHashTable->Add((char const*)key, fRTPSocket); | ^~~~~~~~~~~~~~~~ -
MediaSession.cpp:825:59: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 825 | Groupsock* existing = (Groupsock*)socketHashTable->Add((char const*)key, fRTPSocket); | ^~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:185:33: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 185 | fClientRTCPSourceRecords->Add((char const*)clientSessionId, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:212:85: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 212 | RTCPSourceRecord* source = (RTCPSourceRecord*)(fClientRTCPSourceRecords->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:239:83: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 239 | RTCPSourceRecord* source = (RTCPSourceRecord*)(fClientRTCPSourceRecords->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PassiveServerMediaSubsession.cpp:245:38: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 245 | fClientRTCPSourceRecords->Remove((char const*)clientSessionId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:236:31: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 236 | fDestinationsHashTable->Add((char const*)clientSessionId, destinations); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:249:54: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 249 | = (Destinations*)(fDestinationsHashTable->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:373:54: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 373 | = (Destinations*)(fDestinationsHashTable->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OnDemandServerMediaSubsession.cpp:375:36: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 375 | fDestinationsHashTable->Remove((char const*)clientSessionId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MPEG2TransportFileServerMediaSubsession.cpp:185:36: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 185 | fClientSessionHashTable->Add((char const*)clientSessionId, client); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MPEG2TransportFileServerMediaSubsession.cpp:219:66: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 219 | return (ClientTrickPlayState*)(fClientSessionHashTable->Lookup((char const*)clientSessionId)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:815:70: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 815 | if (newTrack != NULL && newTrack->trackNumber != 0) fTable->Remove((char const*)newTrack->trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:816:62: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 816 | MatroskaTrack* existingTrack = (MatroskaTrack*)fTable->Add((char const*)trackNumber, newTrack); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:821:41: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 821 | return (MatroskaTrack*)fTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:909:28: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 909 | fDemuxedTracksTable->Add((char const*)trackNumber, trackSource); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:914:61: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 914 | return (MatroskaDemuxedTrack*)fDemuxedTracksTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
MatroskaFile.cpp:920:31: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 920 | fDemuxedTracksTable->Remove((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:216:30: warning: cast to 'const char *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-pointer-cast] 216 | = (OggTrack*)fTable->Add((char const*)newTrack->trackNumber, newTrack); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:221:36: warning: cast to 'const char *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-pointer-cast] 221 | return (OggTrack*)fTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:273:28: warning: cast to 'const char *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-pointer-cast] 273 | fDemuxedTracksTable->Add((char const*)resultTrackNumber, trackSource); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:281:28: warning: cast to 'const char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 281 | fDemuxedTracksTable->Add((char const*)trackNumber, trackSource); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:286:56: warning: cast to 'const char *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-pointer-cast] 286 | return (OggDemuxedTrack*)fDemuxedTracksTable->Lookup((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
OggFile.cpp:312:31: warning: cast to 'const char *' from smaller integer type 'u_int32_t' (aka 'unsigned int') [-Wint-to-pointer-cast] 312 | fDemuxedTracksTable->Remove((char const*)trackNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
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; | ^ -
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:9: warning: variable 'DTS' set but not used [-Wunused-but-set-variable] 180 | double DTS = dtsUpper32/45000.0; | ^