Skip to content

Commit

Permalink
[core] fix m_iMaxPosInc was not updated in releaseNextFillerEntries()
Browse files Browse the repository at this point in the history
  • Loading branch information
gou4shi1 authored and maxsharabayko committed Jan 17, 2022
1 parent 258167d commit 8afcdbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions srtcore/buffer_rcv.cpp
Expand Up @@ -614,6 +614,9 @@ void CRcvBufferNew::releaseNextFillerEntries()
releaseUnitInPos(pos);
pos = incPos(pos);
m_iStartPos = pos;
--m_iMaxPosInc;
if (m_iMaxPosInc < 0)
m_iMaxPosInc = 0;
}
}

Expand Down

0 comments on commit 8afcdbe

Please sign in to comment.