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:
andrew@webrtc.org 2012-03-27 17:33:29 +00:00
parent f589dfede4
commit 61b1b4b472
2 changed files with 3 additions and 2 deletions
src/modules/audio_coding/neteq/test

View File

@ -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());
}
}

View File

@ -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