aboutsummaryrefslogtreecommitdiff
path: root/webrtc/common_types.h
diff options
context:
space:
mode:
authorPeter Kasting <pkasting@google.com>2016-01-12 16:26:35 -0800
committerPeter Kasting <pkasting@google.com>2016-01-13 00:26:55 +0000
commit6955870806624479723addfae6dcf5d13968796c (patch)
treeaf7b10a4564c7e49d29fbb4ee37767abaded7e32 /webrtc/common_types.h
parent92e677a1f8d24dfa0031d307c4a7d8e530cd4eb4 (diff)
downloadwebrtc-6955870806624479723addfae6dcf5d13968796c.tar.gz
Convert channel counts to size_t.
IIRC, this was originally requested by ajm during review of the other size_t conversions I did over the past year, and I agreed it made sense, but wanted to do it separately since those changes were already gargantuan. BUG=chromium:81439 TEST=none R=henrik.lundin@webrtc.org, henrika@webrtc.org, kjellander@webrtc.org, minyue@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org Review URL: https://codereview.webrtc.org/1316523002 . Cr-Commit-Position: refs/heads/master@{#11229}
Diffstat (limited to 'webrtc/common_types.h')
-rw-r--r--webrtc/common_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index 6d1886b683..444ef928d9 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -291,7 +291,7 @@ struct CodecInst {
char plname[RTP_PAYLOAD_NAME_SIZE];
int plfreq;
int pacsize;
- int channels;
+ size_t channels;
int rate; // bits/sec unlike {start,min,max}Bitrate elsewhere in this file!
bool operator==(const CodecInst& other) const {