Fix apparent typo: int -> char.

The surrounding similar methods all used unsigned char, using unsigned int in
this case looks like an accident, especially since the function passes on the
value in question to a function expecting a uint8.

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

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

Cr-Commit-Position: refs/heads/master@{#8228}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8228 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pkasting@chromium.org 2015-02-02 19:44:25 +00:00
parent 946ad76f7e
commit 19f3f71c98
4 changed files with 4 additions and 4 deletions

View File

@ -1264,7 +1264,7 @@ class FakeWebRtcVideoEngine
return 0;
}
WEBRTC_FUNC(RegisterExternalReceiveCodec,
(const int channel, const unsigned int pl_type, webrtc::VideoDecoder*,
(const int channel, const unsigned char pl_type, webrtc::VideoDecoder*,
bool, int)) {
WEBRTC_CHECK_CHANNEL(channel);
channels_[channel]->ext_decoder_pl_types_.insert(pl_type);

View File

@ -34,7 +34,7 @@ class WEBRTC_DLLEXPORT ViEExternalCodec {
const unsigned char pl_type) = 0;
virtual int RegisterExternalReceiveCodec(const int video_channel,
const unsigned int pl_type,
const unsigned char pl_type,
VideoDecoder* decoder,
bool decoder_render = false,
int render_delay = 0) = 0;

View File

@ -99,7 +99,7 @@ int ViEExternalCodecImpl::DeRegisterExternalSendCodec(
int ViEExternalCodecImpl::RegisterExternalReceiveCodec(
const int video_channel,
const unsigned int pl_type,
const unsigned char pl_type,
VideoDecoder* decoder,
bool decoder_render,
int render_delay) {

View File

@ -31,7 +31,7 @@ class ViEExternalCodecImpl
virtual int DeRegisterExternalSendCodec(const int video_channel,
const unsigned char pl_type);
virtual int RegisterExternalReceiveCodec(const int video_channel,
const unsigned int pl_type,
const unsigned char pl_type,
VideoDecoder* decoder,
bool decoder_render = false,
int render_delay = 0);