| Index: webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc b/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc
|
| index c92cfa48a734aa9d5e2c0328e0bb89ea92079308..9eba205a88a4d1c2ec6ba6e39417705b2a1d048f 100644
|
| --- a/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc
|
| +++ b/webrtc/modules/video_coding/codecs/test/predictive_packet_manipulator.cc
|
| @@ -19,13 +19,11 @@ namespace webrtc {
|
| namespace test {
|
|
|
| PredictivePacketManipulator::PredictivePacketManipulator(
|
| - PacketReader* packet_reader, const NetworkingConfig& config)
|
| - : PacketManipulatorImpl(packet_reader, config, false) {
|
| -}
|
| -
|
| -PredictivePacketManipulator::~PredictivePacketManipulator() {
|
| -}
|
| + PacketReader* packet_reader,
|
| + const NetworkingConfig& config)
|
| + : PacketManipulatorImpl(packet_reader, config, false) {}
|
|
|
| +PredictivePacketManipulator::~PredictivePacketManipulator() {}
|
|
|
| void PredictivePacketManipulator::AddRandomResult(double result) {
|
| assert(result >= 0.0 && result <= 1.0);
|
| @@ -33,8 +31,9 @@ void PredictivePacketManipulator::AddRandomResult(double result) {
|
| }
|
|
|
| double PredictivePacketManipulator::RandomUniform() {
|
| - if(random_results_.size() == 0u) {
|
| - fprintf(stderr, "No more stored results, please make sure AddRandomResult()"
|
| + if (random_results_.size() == 0u) {
|
| + fprintf(stderr,
|
| + "No more stored results, please make sure AddRandomResult()"
|
| "is called same amount of times you're going to invoke the "
|
| "RandomUniform() function, i.e. once per packet.\n");
|
| assert(false);
|
| @@ -45,4 +44,4 @@ double PredictivePacketManipulator::RandomUniform() {
|
| }
|
|
|
| } // namespace test
|
| -} // namespace webrtcc
|
| +} // namespace webrtc
|
|
|