Index: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
index dc4c73eb6fdf7791b09dc18f596745a66e5ca6aa..ae4aad7c8412112f25e942cf67416608290ae3d0 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc |
@@ -199,9 +199,15 @@ class RtpRtcpImplTest : public ::testing::Test { |
void SendFrame(const RtpRtcpModule* module, uint8_t tid) { |
RTPVideoHeaderVP8 vp8_header = {}; |
vp8_header.temporalIdx = tid; |
- RTPVideoHeader rtp_video_header = { |
- codec_.width, codec_.height, kVideoRotation_0, {-1, -1}, true, 0, |
- kRtpVideoVp8, {vp8_header}}; |
+ RTPVideoHeader rtp_video_header; |
+ rtp_video_header.width = codec_.width; |
+ rtp_video_header.height = codec_.height; |
+ rtp_video_header.rotation = kVideoRotation_0; |
+ rtp_video_header.playout_delay = {-1, -1}; |
+ rtp_video_header.is_first_packet_in_frame = true; |
+ rtp_video_header.simulcastIdx = 0; |
+ rtp_video_header.codec = kRtpVideoVp8; |
+ rtp_video_header.codecHeader = {vp8_header}; |
const uint8_t payload[100] = {0}; |
EXPECT_EQ(true, module->impl_->SendOutgoingData( |