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:
parent
946ad76f7e
commit
19f3f71c98
@ -1264,7 +1264,7 @@ class FakeWebRtcVideoEngine
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
WEBRTC_FUNC(RegisterExternalReceiveCodec,
|
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)) {
|
bool, int)) {
|
||||||
WEBRTC_CHECK_CHANNEL(channel);
|
WEBRTC_CHECK_CHANNEL(channel);
|
||||||
channels_[channel]->ext_decoder_pl_types_.insert(pl_type);
|
channels_[channel]->ext_decoder_pl_types_.insert(pl_type);
|
||||||
|
@ -34,7 +34,7 @@ class WEBRTC_DLLEXPORT ViEExternalCodec {
|
|||||||
const unsigned char pl_type) = 0;
|
const unsigned char pl_type) = 0;
|
||||||
|
|
||||||
virtual int RegisterExternalReceiveCodec(const int video_channel,
|
virtual int RegisterExternalReceiveCodec(const int video_channel,
|
||||||
const unsigned int pl_type,
|
const unsigned char pl_type,
|
||||||
VideoDecoder* decoder,
|
VideoDecoder* decoder,
|
||||||
bool decoder_render = false,
|
bool decoder_render = false,
|
||||||
int render_delay = 0) = 0;
|
int render_delay = 0) = 0;
|
||||||
|
@ -99,7 +99,7 @@ int ViEExternalCodecImpl::DeRegisterExternalSendCodec(
|
|||||||
|
|
||||||
int ViEExternalCodecImpl::RegisterExternalReceiveCodec(
|
int ViEExternalCodecImpl::RegisterExternalReceiveCodec(
|
||||||
const int video_channel,
|
const int video_channel,
|
||||||
const unsigned int pl_type,
|
const unsigned char pl_type,
|
||||||
VideoDecoder* decoder,
|
VideoDecoder* decoder,
|
||||||
bool decoder_render,
|
bool decoder_render,
|
||||||
int render_delay) {
|
int render_delay) {
|
||||||
|
@ -31,7 +31,7 @@ class ViEExternalCodecImpl
|
|||||||
virtual int DeRegisterExternalSendCodec(const int video_channel,
|
virtual int DeRegisterExternalSendCodec(const int video_channel,
|
||||||
const unsigned char pl_type);
|
const unsigned char pl_type);
|
||||||
virtual int RegisterExternalReceiveCodec(const int video_channel,
|
virtual int RegisterExternalReceiveCodec(const int video_channel,
|
||||||
const unsigned int pl_type,
|
const unsigned char pl_type,
|
||||||
VideoDecoder* decoder,
|
VideoDecoder* decoder,
|
||||||
bool decoder_render = false,
|
bool decoder_render = false,
|
||||||
int render_delay = 0);
|
int render_delay = 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user