Don't detect a new frame if a previous packet is used in a previous frame.
In this CL: - Removed unused variable |last_seq_num_|. - Fixed bug where a new incomplete frame was detected as a complete frame. - Added fuzzer to video_coding::PacketBuffer. BUG=chromium:677101 Review-Url: https://codereview.webrtc.org/2613833003 Cr-Commit-Position: refs/heads/master@{#16003}
This commit is contained in:
@ -126,9 +126,6 @@ class PacketBuffer {
|
||||
// The fist sequence number currently in the buffer.
|
||||
uint16_t first_seq_num_ GUARDED_BY(crit_);
|
||||
|
||||
// The last sequence number currently in the buffer.
|
||||
uint16_t last_seq_num_ GUARDED_BY(crit_);
|
||||
|
||||
// If the packet buffer has received its first packet.
|
||||
bool first_packet_received_ GUARDED_BY(crit_);
|
||||
|
||||
|
Reference in New Issue
Block a user