Index: webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc |
index 0bf95b7fe4b14f10d60d4cea44504d5a2083ee0e..d617f10dad815124be0ad782ec58b83dd1e97a2a 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc |
@@ -13,7 +13,6 @@ |
#include <stdlib.h> |
#include <string.h> |
-#include <memory> |
#include <vector> |
#include "webrtc/base/checks.h" |
@@ -112,7 +111,7 @@ |
int64_t capture_time_ms, |
StorageType media_packet_storage, |
bool protect) { |
- std::unique_ptr<RedPacket> red_packet; |
+ rtc::scoped_ptr<RedPacket> red_packet; |
std::vector<RedPacket*> fec_packets; |
StorageType fec_storage = kDontRetransmit; |
uint16_t next_fec_sequence_number = 0; |
@@ -225,7 +224,7 @@ |
return -1; |
} |
- std::unique_ptr<RtpPacketizer> packetizer(RtpPacketizer::Create( |
+ rtc::scoped_ptr<RtpPacketizer> packetizer(RtpPacketizer::Create( |
videoType, _rtpSender.MaxDataPayloadLength(), |
video_header ? &(video_header->codecHeader) : nullptr, frameType)); |