From 12a34247a448fa76ba7e13cef3e8b3561d168909 Mon Sep 17 00:00:00 2001 From: "henrik.lundin@webrtc.org" Date: Mon, 28 Apr 2014 08:36:35 +0000 Subject: [PATCH] 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 --- webrtc/modules/audio_coding/neteq4/packet_buffer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/audio_coding/neteq4/packet_buffer.cc b/webrtc/modules/audio_coding/neteq4/packet_buffer.cc index 33ff9a6b14..bcd0e7b4bd 100644 --- a/webrtc/modules/audio_coding/neteq4/packet_buffer.cc +++ b/webrtc/modules/audio_coding/neteq4/packet_buffer.cc @@ -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; }