Chromium Code Reviews

Unified Diff: webrtc/modules/rtp_rtcp/source/producer_fec.h

Issue 2099243003: Use std::unique_ptr in ForwardErrorCorrection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@flexfec-pt1a_mini-fixes-in-ULPFEC
Patch Set: Response to PS4 feedback. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/rtp_rtcp/source/producer_fec.h
diff --git a/webrtc/modules/rtp_rtcp/source/producer_fec.h b/webrtc/modules/rtp_rtcp/source/producer_fec.h
index 063a45fa95b79a948ada1c27c72f94b6264f7c77..e4b5ce5fbf79c460c90e6ab4b19eaf062ee59649 100644
--- a/webrtc/modules/rtp_rtcp/source/producer_fec.h
+++ b/webrtc/modules/rtp_rtcp/source/producer_fec.h
@@ -72,7 +72,7 @@ class ProducerFec {
int Overhead() const;
ForwardErrorCorrection* fec_;
ForwardErrorCorrection::PacketList media_packets_fec_;
- ForwardErrorCorrection::PacketList fec_packets_;
+ std::list<ForwardErrorCorrection::Packet*> fec_packets_;
int num_frames_;
int num_first_partition_;
int minimum_media_packets_fec_;

Powered by Google App Engine