From 61b1b4b472fc0a6bbc6183074f1cd27008e81ad5 Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Tue, 27 Mar 2012 17:33:29 +0000 Subject: [PATCH] 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 --- src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc | 3 ++- src/modules/audio_coding/neteq/test/RTPchange.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc b/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc index 79e6b479b..ed26e9e6e 100644 --- a/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc +++ b/src/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.cc @@ -11,6 +11,7 @@ #include "NETEQTEST_RTPpacket.h" #include +#include // rand #include #ifdef WIN32 @@ -842,6 +843,6 @@ void NETEQTEST_RTPpacket::scramblePayload(void) for (int i = 0; i < _payloadLen; ++i) { - _payloadPtr[i] = static_cast(std::rand()); + _payloadPtr[i] = static_cast(rand()); } } diff --git a/src/modules/audio_coding/neteq/test/RTPchange.cc b/src/modules/audio_coding/neteq/test/RTPchange.cc index 93ad66bda..259a77373 100644 --- a/src/modules/audio_coding/neteq/test/RTPchange.cc +++ b/src/modules/audio_coding/neteq/test/RTPchange.cc @@ -14,7 +14,7 @@ #include #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