projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
webrtc
/
modules
/
audio_coding
/
neteq
/
tools
/
rtp_file_source.cc
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
(file)
--- 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;