mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: use c++ 98 style map.erase and NULL
This commit is contained in:
parent
23447dd6e2
commit
b8ab6ef6ce
2 changed files with 3 additions and 3 deletions
|
@ -248,7 +248,7 @@ void SrsRtpNackForReceiver::get_nack_seqs(vector<uint16_t>& seqs)
|
|||
int alive_time = now - nack_info.generate_time_;
|
||||
if (alive_time > opts_.max_alive_time || nack_info.req_nack_count_ > opts_.max_count) {
|
||||
rtp_->notify_drop_seq(seq);
|
||||
iter = queue_.erase(iter);
|
||||
queue_.erase(iter++);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue