Index: webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc |
index 83bd2849df4304d26c27335360830ec8856f0193..bef94cfd0dab5318f441483f66ba4aab7db49e49 100644 |
--- a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc |
@@ -238,8 +238,7 @@ int32_t FecReceiverImpl::ProcessReceivedFec() { |
assert(received_packet_list_.empty()); |
} |
// Send any recovered media packets to VCM. |
- ForwardErrorCorrection::RecoveredPacketList::iterator it = |
- recovered_packet_list_.begin(); |
+ auto it = recovered_packet_list_.begin(); |
danilchap
2016/06/29 10:31:52
make one more step and use c++11 loop:
for (auto*
brandtr
2016/06/29 14:24:10
Done.
|
for (; it != recovered_packet_list_.end(); ++it) { |
if ((*it)->returned) // Already sent to the VCM and the jitter buffer. |
continue; |