mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 09:07:52 +01:00
Fix the NetEq build
TBR=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20379004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5990 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
116ed1d4f0
commit
12a34247a4
1 changed files with 2 additions and 2 deletions
|
@ -184,9 +184,9 @@ int PacketBuffer::DiscardNextPacket() {
|
|||
if (Empty()) {
|
||||
return kBufferEmpty;
|
||||
}
|
||||
Packet* temp_packet = buffer_.front();
|
||||
// Assert that the packet sanity checks in InsertPacket method works.
|
||||
assert(temp_packet && temp_packet->payload);
|
||||
assert(buffer_.front());
|
||||
assert(buffer_.front()->payload);
|
||||
DeleteFirstPacket(&buffer_);
|
||||
return kOK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue