mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Upgrade libsrt to v1.5.3. v5.0.183 v6.0.81 (#3808)
fix https://github.com/ossrs/srs/issues/3155 Build srt-1-fit fails with `standard attributes in middle of decl-specifiers` on GCC 12,Arch Linux. See https://github.com/Haivision/srt/releases/tag/v1.5.3
This commit is contained in:
parent
f9bba0a9b0
commit
c5e067fb0b
94 changed files with 5974 additions and 6273 deletions
6
trunk/3rdparty/srt-1-fit/srtcore/fec.h
vendored
6
trunk/3rdparty/srt-1-fit/srtcore/fec.h
vendored
|
@ -47,7 +47,7 @@ public:
|
|||
size_t drop; //< by how much the sequence should increase to get to the next series
|
||||
size_t collected; //< how many packets were taken to collect the clip
|
||||
|
||||
Group(): base(CSeqNo::m_iMaxSeqNo), step(0), drop(0), collected(0)
|
||||
Group(): base(SRT_SEQNO_NONE), step(0), drop(0), collected(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ public:
|
|||
#if ENABLE_HEAVY_LOGGING
|
||||
std::string DisplayStats()
|
||||
{
|
||||
if (base == CSeqNo::m_iMaxSeqNo)
|
||||
if (base == SRT_SEQNO_NONE)
|
||||
return "UNINITIALIZED!!!";
|
||||
|
||||
std::ostringstream os;
|
||||
|
@ -222,7 +222,7 @@ private:
|
|||
void RcvRebuild(Group& g, int32_t seqno, Group::Type tp);
|
||||
int32_t RcvGetLossSeqHoriz(Group& g);
|
||||
int32_t RcvGetLossSeqVert(Group& g);
|
||||
void EmergencyShrink(size_t n_series);
|
||||
bool CheckEmergencyShrink(size_t n_series, size_t size_in_packets);
|
||||
|
||||
static void TranslateLossRecords(const std::set<int32_t>& loss, loss_seqs_t& irrecover);
|
||||
void RcvCheckDismissColumn(int32_t seqno, int colgx, loss_seqs_t& irrecover);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue