diff --git a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc index f1353b8d8..a009f3aa9 100644 --- a/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc +++ b/webrtc/modules/rtp_rtcp/test/testFec/test_fec.cc @@ -161,8 +161,8 @@ TEST(FecTest, FecTest) { numFecPackets++) { // Loop over numImpPackets: usually <= (0.3*numMediaPackets). - // For this test we check up to ~ (0.5*numMediaPackets). - uint32_t maxNumImpPackets = numMediaPackets / 2 + 1; + // For this test we check up to ~ (numMediaPackets / 4). + uint32_t maxNumImpPackets = numMediaPackets / 4 + 1; for (uint32_t numImpPackets = 0; numImpPackets <= maxNumImpPackets && numImpPackets <= packetMaskMax; numImpPackets++) {