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:
parent
f589dfede4
commit
61b1b4b472
src/modules/audio_coding/neteq/test
@ -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());
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h"
|
||||
#include "modules/audio_coding/neteq/test/NETEQTEST_DummyRTPPacket.h"
|
||||
#include "modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.h"
|
||||
|
||||
#define FIRSTLINELEN 40
|
||||
//#define WEBRTC_DUMMY_RTP
|
||||
|
Loading…
Reference in New Issue
Block a user