diff --git a/AUTHORS b/AUTHORS index 15f2589e05..694e98e5f2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -39,6 +39,7 @@ Mo Zanaty Pali Rohar Paul Kapustin Philipp Hancke +Peng Yu Rafael Lopez Diez Ralph Giles Riku Voipio diff --git a/modules/audio_coding/neteq/packet_buffer.cc b/modules/audio_coding/neteq/packet_buffer.cc index 9752ec6be1..c08c44712d 100644 --- a/modules/audio_coding/neteq/packet_buffer.cc +++ b/modules/audio_coding/neteq/packet_buffer.cc @@ -118,7 +118,7 @@ int PacketBuffer::InsertPacket(Packet&& packet, StatisticsCalculator* stats) { // packet. PacketList::iterator it = rit.base(); if (it != buffer_.end() && packet.timestamp == it->timestamp) { - LogPacketDiscarded(packet.priority.codec_level, stats); + LogPacketDiscarded(it->priority.codec_level, stats); it = buffer_.erase(it); } buffer_.insert(it, std::move(packet)); // Insert the packet at that position.