X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fwebrtc%2Fmodules%2Faudio_coding%2Fneteq%2Ftools%2Frtp_file_source.cc;h=6924a7f24433d5c4d759d3ad513ade012e85d198;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=6490d46857c6f6ba71e6fdda9d738dd4e9047e07;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc b/src/third_party/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc index 6490d46..6924a7f 100644 --- a/src/third_party/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc +++ b/src/third_party/webrtc/modules/audio_coding/neteq/tools/rtp_file_source.cc @@ -92,6 +92,10 @@ Packet* RtpFileSource::NextPacket() { assert(false); return NULL; } + if (filter_.test(packet->header().payloadType)) { + // This payload type should be filtered out. Continue to the next packet. + continue; + } return packet.release(); } return NULL;