Skip to content

Commit

Permalink
Fix a crash in depacketizer that happened when we reset it (lynckia#1665
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ferhez authored Dec 9, 2020
1 parent 5c48b69 commit 862f8e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erizo/src/erizo/media/Depacketizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ bool H264Depacketizer::processPacket() {
case single: {
if (search_state_ == SearchState::lookingForEnd) {
reset();
return false;
}
if (last_payload_->dataLength == 0) {
return false;
Expand Down

0 comments on commit 862f8e9

Please sign in to comment.