diff --git a/src/modules/rtp_rtcp/source/rtp_sender.cc b/src/modules/rtp_rtcp/source/rtp_sender.cc index 0115a0d83b..7d12a70689 100644 --- a/src/modules/rtp_rtcp/source/rtp_sender.cc +++ b/src/modules/rtp_rtcp/source/rtp_sender.cc @@ -616,7 +616,7 @@ WebRtc_Word32 RTPSender::ReSendPacket(WebRtc_UWord16 packet_id, min_resend_time, data_buffer, &length, &stored_time_in_ms, &type); if (!found) { // Packet not found. - return -1; + return 0; } if (length == 0 || type == kDontRetransmit) {