Go to file
Wan-Teh Chang 92d9489881 Miscellaneous cleanups in VCMReceiver and its unit tests.
The most important change is to prevent a potential buffer overflow in
NackList(). It cannot happen if the |size| argument passed to NackList()
is consistent with the |max_nack_list_size| argument passed to
SetNackSettings(), and there is an assertion to check that. But it is
good to defend against this in the release build because assert() is
compiled away in the release build.

Remove the unused |master| parameter to the VCMReceiver constructor.

Remove the unused State() getter method and the corresponding state_
member.

Remove the declarations for the nonexistent GenerateReceiverId()
method and the receiver_id_counter_ member.

Remove the unneeded data_buffer_ member of TestVCMReceiver. It was
assigned to packet.dataPtr and then immediately overwritten by
stream_generator_->GetPacket() or stream_generator_->PopPacket().

R=stefan@webrtc.org
BUG=none
TEST=none

Review URL: https://webrtc-codereview.appspot.com/51119004

Cr-Commit-Position: refs/heads/master@{#9318}
2015-05-28 20:36:22 +00:00
chromium Roll chromium_revision a12e1e1..0cb2549 (326495:327252) 2015-04-29 12:48:00 +00:00
data Enable AudioProcessing48kHzSupport by default 2015-05-22 18:59:59 +00:00
infra Added buildbucket bucket definitions 2015-05-27 21:01:51 +00:00
resources Enable GoogleWifiTrace3Mbps simulations. 2015-05-04 12:26:26 +00:00
talk Stop video candidates getting down to audio. 2015-05-28 16:48:30 +00:00
third_party Roll gtest-parallel. 2015-05-21 11:25:15 +00:00
tools Remove ViESender. 2015-05-28 12:10:48 +00:00
webrtc Miscellaneous cleanups in VCMReceiver and its unit tests. 2015-05-28 20:36:22 +00:00
.clang-format Style-option file for clang-format. 2013-11-25 15:30:37 +00:00
.gitignore Add tools/vim to .gitignore. 2015-05-20 16:04:22 +00:00
.gn PRESUBMIT: Improve PyLint check and add GN format check. 2015-05-25 10:55:50 +00:00
all.gyp Remove libjingle_root GYP variable 2015-03-06 08:03:47 +00:00
AUTHORS Re-land: Add API to get negotiated SSL ciphers 2015-02-11 22:35:30 +00:00
BUILD.gn Initial GN work for WebRTC 2014-06-17 08:54:03 +00:00
check_root_dir.py Remove root_dir variable from DEPS + enforce rename. 2014-10-09 09:11:27 +00:00
codereview.settings Post Git switch: Update codereview.settings and remove drover.properties 2015-03-24 13:32:33 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
DEPS Roll chromium_revision 5118a5b..1b9c098 (330060:330302) 2015-05-17 13:30:32 +00:00
LICENSE Updated license path in LICENSE and LICENSE_THIRD_PARTY. 2012-11-22 12:06:21 +00:00
license_template.txt Update template to follow chromium copyright style 2013-04-24 01:01:28 +00:00
LICENSE_THIRD_PARTY Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
OWNERS Roll chromium_revision 5333e14..d8f8dc8 (323410:324211) 2015-04-09 13:36:33 +00:00
PATENTS Add references to src/ copies for LICENSE etc. 2011-10-26 01:05:07 +00:00
PRESUBMIT.py Script for auto-rolling chromium_revision in DEPS. 2015-05-26 17:52:10 +00:00
pylintrc PRESUBMIT: Improve PyLint check and add GN format check. 2015-05-25 10:55:50 +00:00
setup_links.py PRESUBMIT: Improve PyLint check and add GN format check. 2015-05-25 10:55:50 +00:00
sync_chromium.py Roll chromium_revision a12e1e1..0cb2549 (326495:327252) 2015-04-29 12:48:00 +00:00
WATCHLISTS Remove VideoEngine interfaces. 2015-05-12 14:51:08 +00:00