Skip to content

Commit

Permalink
[core] Bugfix: ISN override with 0 (#1145)
Browse files Browse the repository at this point in the history
non-trap 0 value of sched sequence caused ISN to override with 0 (#1145)
  • Loading branch information
ethouris authored Feb 21, 2020
1 parent 3c8da2c commit 1d7b391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10934,7 +10934,7 @@ CUDTGroup::CUDTGroup()
, m_bOpened(false)
, m_bConnected(false)
, m_bClosing(false)
, m_iLastSchedSeqNo(0)
, m_iLastSchedSeqNo(-1)
{
setupMutex(m_GroupLock, "Group");
setupMutex(m_RcvDataLock, "RcvData");
Expand Down

0 comments on commit 1d7b391

Please sign in to comment.