summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormarpan@webrtc.org <marpan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-03 21:14:07 +0000
committermarpan@webrtc.org <marpan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-07-03 21:14:07 +0000
commit74e26a6f1a4d3b75f57bcd33c0098c22b2563533 (patch)
tree89d88a2ea0b93e04b2ce424995cebba9e7d61390 /modules
parentbabd7a7ea25063832f1568a89b95004a815d353e (diff)
downloadwebrtc-74e26a6f1a4d3b75f57bcd33c0098c22b2563533.tar.gz
Fix memcheck error in r6594.
TBR=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14859004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6596 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'modules')
-rw-r--r--modules/rtp_rtcp/source/rtp_fec_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/rtp_rtcp/source/rtp_fec_unittest.cc b/modules/rtp_rtcp/source/rtp_fec_unittest.cc
index 2f8b2926..993433b6 100644
--- a/modules/rtp_rtcp/source/rtp_fec_unittest.cc
+++ b/modules/rtp_rtcp/source/rtp_fec_unittest.cc
@@ -178,6 +178,7 @@ TEST_F(RtpFecTest, FecRecoveryWithSeqNumGapTwoFrames) {
EXPECT_EQ(1, static_cast<int>(fec_packet_list_.size()));
// Add FEC packet (seq#2) of this first frame to received list (i.e., assume
// the two media packet were lost).
+ memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_));
ReceivedPackets(fec_packet_list_, fec_loss_mask_, true);
// Construct media packets for second frame, with sequence number wrap.