From 1d7b391905d7e344d80b86b39ac5c90fda8764a9 Mon Sep 17 00:00:00 2001 From: Sektor van Skijlen Date: Fri, 21 Feb 2020 12:55:32 +0100 Subject: [PATCH] [core] Bugfix: ISN override with 0 (#1145) non-trap 0 value of sched sequence caused ISN to override with 0 (#1145) --- srtcore/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srtcore/core.cpp b/srtcore/core.cpp index e697f78fe..251062091 100644 --- a/srtcore/core.cpp +++ b/srtcore/core.cpp @@ -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");