mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 20:15:58 +08:00
优化代码,去除编译警告,修复拼写错误
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
namespace SRT {
|
||||
|
||||
PacketSendQueue::PacketSendQueue(uint32_t max_size, uint32_t latency,uint32_t flag)
|
||||
: _pkt_cap(max_size)
|
||||
, _pkt_latency(latency)
|
||||
, _srt_flag(flag) {}
|
||||
: _srt_flag(flag)
|
||||
, _pkt_cap(max_size)
|
||||
, _pkt_latency(latency) {}
|
||||
|
||||
bool PacketSendQueue::drop(uint32_t num) {
|
||||
decltype(_pkt_cache.begin()) it;
|
||||
|
||||
Reference in New Issue
Block a user