Fix neteq-rtpplay Linux build errors.
BUG= TEST=build on Linux. TBR=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/457007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1948 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "NETEQTEST_RTPpacket.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h> // rand
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
@@ -842,6 +843,6 @@ void NETEQTEST_RTPpacket::scramblePayload(void)
|
||||
|
||||
for (int i = 0; i < _payloadLen; ++i)
|
||||
{
|
||||
_payloadPtr[i] = static_cast<WebRtc_UWord8>(std::rand());
|
||||
_payloadPtr[i] = static_cast<WebRtc_UWord8>(rand());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user