Skip to content

Commit

Permalink
[core] fix CRcvLossList::m_iTail not reset to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
gou4shi1 authored and maxsharabayko committed Dec 2, 2021
1 parent e5a1179 commit 8b68157
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srtcore/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ bool CRcvLossList::remove(int32_t seqno)
m_iHead = m_caSeq[m_iHead].inext;
if (-1 != m_iHead)
m_caSeq[m_iHead].iprior = -1;
else
m_iTail = -1;
}
else
{
Expand Down

0 comments on commit 8b68157

Please sign in to comment.