| Index: webrtc/modules/audio_coding/neteq/packet.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/packet.h b/webrtc/modules/audio_coding/neteq/packet.h
|
| index d6f64c7e088aa9ae51f2877de7b1f604b3cb4797..273c2d21c03a3666fee77e00d1b8201b7a64075f 100644
|
| --- a/webrtc/modules/audio_coding/neteq/packet.h
|
| +++ b/webrtc/modules/audio_coding/neteq/packet.h
|
| @@ -14,6 +14,7 @@
|
| #include <list>
|
| #include <memory>
|
|
|
| +#include "webrtc/base/buffer.h"
|
| #include "webrtc/modules/audio_coding/neteq/tick_timer.h"
|
| #include "webrtc/modules/include/module_common_types.h"
|
| #include "webrtc/typedefs.h"
|
| @@ -24,8 +25,7 @@ namespace webrtc {
|
| struct Packet {
|
| RTPHeader header;
|
| // Datagram excluding RTP header and header extension.
|
| - uint8_t* payload = nullptr;
|
| - size_t payload_length = 0;
|
| + rtc::Buffer payload;
|
| bool primary = true; // Primary, i.e., not redundant payload.
|
| bool sync_packet = false;
|
| std::unique_ptr<TickTimer::Stopwatch> waiting_time;
|
|
|