Index: webrtc/modules/video_coding/test/video_rtp_play.cc |
diff --git a/webrtc/modules/video_coding/test/video_rtp_play.cc b/webrtc/modules/video_coding/test/video_rtp_play.cc |
index cb092e381e0e7fd0ac87d3182b678ea0e7d30e6e..0b8df36ef3c58207665e73a930f1850dc3886f13 100644 |
--- a/webrtc/modules/video_coding/test/video_rtp_play.cc |
+++ b/webrtc/modules/video_coding/test/video_rtp_play.cc |
@@ -8,6 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/modules/video_coding/test/receiver_tests.h" |
#include "webrtc/modules/video_coding/test/vcm_payload_sink_factory.h" |
#include "webrtc/system_wrappers/include/trace.h" |
@@ -51,7 +53,7 @@ int RtpPlay(const CmdArgs& args) { |
webrtc::rtpplayer::VcmPayloadSinkFactory factory( |
output_file, &clock, kConfigProtectionEnabled, kConfigProtectionMethod, |
kConfigRttMs, kConfigRenderDelayMs, kConfigMinPlayoutDelayMs); |
- rtc::scoped_ptr<webrtc::rtpplayer::RtpPlayerInterface> rtp_player( |
+ std::unique_ptr<webrtc::rtpplayer::RtpPlayerInterface> rtp_player( |
webrtc::rtpplayer::Create(args.inputFile, &factory, &clock, payload_types, |
kConfigLossRate, kConfigRttMs, |
kConfigReordering)); |