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..28e98ba8b29420f528a58d47f82480f7934dad54 100644 |
--- a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc |
@@ -12,9 +12,8 @@ |
#include <assert.h> |
-#include <memory> |
- |
#include "webrtc/base/logging.h" |
+#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
#include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" |
@@ -88,7 +87,7 @@ |
// Add to list without RED header, aka a virtual RTP packet |
// we remove the RED header |
- std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet( |
+ rtc::scoped_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet( |
new ForwardErrorCorrection::ReceivedPacket); |
received_packet->pkt = new ForwardErrorCorrection::Packet; |
@@ -136,7 +135,7 @@ |
} |
++packet_counter_.num_packets; |
- std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> |
+ rtc::scoped_ptr<ForwardErrorCorrection::ReceivedPacket> |
second_received_packet; |
if (blockLength > 0) { |
// handle block length, split into 2 packets |