modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc
void NETEQTEST_RTPpacket::scramblePayload(void)
{
    parseHeader();

    for (size_t i = 0; i < _payloadLen; ++i)
    {
        _payloadPtr[i] = static_cast<uint8_t>(rand());
    }
}
// Randomize the payload, not the RTP header.
Randomize the payload, not the RTP header.
Randomize the payload not the RTP header .
void NETEQTEST_RTPpacket::scramblePayload(void)
{
    parseHeader();
    for (size_t i = 0; i < _payloadLen; ++i)
    {
        _payloadPtr[i] = static_cast<uint8_t>(rand());
    }
}
void NETEQTEST_RTPpacket :: scramblePayload ( void ) { parseHeader ( ) ; for ( size_t i = 0 ; i < _payloadLen ; ++ i ) { _payloadPtr [ i ] = static_cast < uint8_t > ( rand ( ) ) ; } }
Randomize the payload, not the RTP header.
Randomize the payload not the RTP header .