Skip to content

Commit

Permalink
[core] replace ++ with incPos() in getTimespan_ms()
Browse files Browse the repository at this point in the history
  • Loading branch information
gou4shi1 authored and maxsharabayko committed Jan 17, 2022
1 parent 3d26644 commit 258167d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/buffer_rcv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ int CRcvBufferNew::getTimespan_ms() const
if (startpos == lastpos)
break;

++startpos;
startpos = incPos(startpos);
}

if (m_entries[startpos].pUnit == NULL)
Expand Down

0 comments on commit 258167d

Please sign in to comment.