From 6109a1beca4590b1d30c7eef8b7668deb0ff6c66 Mon Sep 17 00:00:00 2001 From: DrKLO Date: Fri, 20 Nov 2020 05:43:14 +0300 Subject: [PATCH] compile fix --- modules/rtp_rtcp/source/rtp_format.cc | 2 +- modules/rtp_rtcp/source/rtp_format_h265.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/rtp_rtcp/source/rtp_format.cc b/modules/rtp_rtcp/source/rtp_format.cc index 093194f..27ce7a6 100644 --- a/modules/rtp_rtcp/source/rtp_format.cc +++ b/modules/rtp_rtcp/source/rtp_format.cc @@ -53,7 +53,7 @@ std::unique_ptr RtpPacketizer::Create( case kVideoCodecH265: { const auto& h265 = absl::get(rtp_video_header.video_type_header); - return absl::make_unique( + return std::make_unique( payload, limits, h265.packetization_mode); } #endif diff --git a/modules/rtp_rtcp/source/rtp_format_h265.h b/modules/rtp_rtcp/source/rtp_format_h265.h index cc950be..a1c9665 100644 --- a/modules/rtp_rtcp/source/rtp_format_h265.h +++ b/modules/rtp_rtcp/source/rtp_format_h265.h @@ -107,7 +107,6 @@ class RtpPacketizerH265 : public RtpPacketizer { const PayloadSizeLimits limits_; size_t num_packets_left_; - RTPFragmentationHeader fragmentation_; RTC_DISALLOW_COPY_AND_ASSIGN(RtpPacketizerH265); };