Fixed Win bug introduced when refactoring ViECodecImpl.
TBR=perkj Review URL: http://webrtc-codereview.appspot.com/328013 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1264 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
c12686c2d0
commit
1fe2ada38d
@ -616,7 +616,7 @@ bool ViECodecImpl::CodecValid(const VideoCodec& video_codec) {
|
|||||||
// Check pl_name matches codec_type.
|
// Check pl_name matches codec_type.
|
||||||
if (video_codec.codecType == kVideoCodecRED) {
|
if (video_codec.codecType == kVideoCodecRED) {
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
if (strnicmp_(video_codec.plName, "red", 3) == 0) {
|
if (_strnicmp(video_codec.plName, "red", 3) == 0) {
|
||||||
#else
|
#else
|
||||||
if (strncasecmp(video_codec.plName, "red", 3) == 0) {
|
if (strncasecmp(video_codec.plName, "red", 3) == 0) {
|
||||||
#endif
|
#endif
|
||||||
@ -628,7 +628,7 @@ bool ViECodecImpl::CodecValid(const VideoCodec& video_codec) {
|
|||||||
return false;
|
return false;
|
||||||
} else if (video_codec.codecType == kVideoCodecULPFEC) {
|
} else if (video_codec.codecType == kVideoCodecULPFEC) {
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
if (strnicmp_(video_codec.plName, "ULPFEC", 6) == 0) {
|
if (_strnicmp(video_codec.plName, "ULPFEC", 6) == 0) {
|
||||||
#else
|
#else
|
||||||
if (strncasecmp(video_codec.plName, "ULPFEC", 6) == 0) {
|
if (strncasecmp(video_codec.plName, "ULPFEC", 6) == 0) {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user