Index: webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc b/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc |
index cc0cc83bb49f4f459e22d5a5484cea64ace34322..e1d6d4852c923ab1ca118297af5650c7e2efdfcd 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_history.cc |
@@ -75,10 +75,6 @@ int32_t RTPPacketHistory::PutRTPPacket(const uint8_t* packet, |
size_t packet_length, |
int64_t capture_time_ms, |
StorageType type) { |
- if (type == kDontStore) { |
- return 0; |
- } |
- |
CriticalSectionScoped cs(critsect_.get()); |
if (!store_) { |
return 0; |