-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
formats: Fix h26x fragment reception with sequence roll-over
This commit fixes a bug where the frame is not reconstructed correctly in case the sequence number rolls over inside the frame fragments. The previous solution had the bug of always assuming that the std::set was in correct order for the frame fragments, but this is not the case if the seq rollover happens. The solution here is to use a separate iterator for received fragments that starts at start fragment, not the beginning of std::set and ends when start is found again. # Conflicts: # src/formats/h26x.cc
- Loading branch information
Showing
2 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters