Index: webrtc/modules/video_coding/main/source/receiver_unittest.cc |
diff --git a/webrtc/modules/video_coding/main/source/receiver_unittest.cc b/webrtc/modules/video_coding/main/source/receiver_unittest.cc |
index eb5e4718ce7395d618372b70c90305021a7b38cf..707e1f1d793cddb2fe0a10d8e4c176ee55ce595c 100644 |
--- a/webrtc/modules/video_coding/main/source/receiver_unittest.cc |
+++ b/webrtc/modules/video_coding/main/source/receiver_unittest.cc |
@@ -63,10 +63,8 @@ class TestVCMReceiver : public ::testing::Test { |
int32_t InsertFrame(FrameType frame_type, bool complete) { |
int num_of_packets = complete ? 1 : 2; |
stream_generator_->GenerateFrame( |
- frame_type, |
- (frame_type != kFrameEmpty) ? num_of_packets : 0, |
- (frame_type == kFrameEmpty) ? 1 : 0, |
- clock_->TimeInMilliseconds()); |
+ frame_type, (frame_type != kEmptyFrame) ? num_of_packets : 0, |
+ (frame_type == kEmptyFrame) ? 1 : 0, clock_->TimeInMilliseconds()); |
int32_t ret = InsertPacketAndPop(0); |
if (!complete) { |
// Drop the second packet. |