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:
henrik.lundin@webrtc.org 2014-04-28 08:36:35 +00:00
parent 116ed1d4f0
commit 12a34247a4

View File

@ -184,9 +184,9 @@ int PacketBuffer::DiscardNextPacket() {
if (Empty()) { if (Empty()) {
return kBufferEmpty; return kBufferEmpty;
} }
Packet* temp_packet = buffer_.front();
// Assert that the packet sanity checks in InsertPacket method works. // 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_); DeleteFirstPacket(&buffer_);
return kOK; return kOK;
} }