summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h')
-rw-r--r--chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h b/chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h
index 890d0cb50cb..7558abe6bbf 100644
--- a/chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h
+++ b/chromium/third_party/webrtc/modules/video_coding/codecs/test_framework/test.h
@@ -41,7 +41,7 @@ protected:
virtual void Teardown();
double ActualBitRate(int nFrames);
virtual bool PacketLoss(double lossRate, int /*thrown*/);
- static double RandUniform() { return (std::rand() + 1.0)/(RAND_MAX + 1.0); }
+ static double RandUniform() { return (rand() + 1.0)/(RAND_MAX + 1.0); }
static void VideoEncodedBufferToEncodedImage(
webrtc::VideoFrame& videoBuffer,
webrtc::EncodedImage &image);