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:
mflodman@webrtc.org 2011-12-21 12:23:15 +00:00
parent c12686c2d0
commit 1fe2ada38d

View File

@ -616,7 +616,7 @@ bool ViECodecImpl::CodecValid(const VideoCodec& video_codec) {
// Check pl_name matches codec_type.
if (video_codec.codecType == kVideoCodecRED) {
#if defined(WIN32)
if (strnicmp_(video_codec.plName, "red", 3) == 0) {
if (_strnicmp(video_codec.plName, "red", 3) == 0) {
#else
if (strncasecmp(video_codec.plName, "red", 3) == 0) {
#endif
@ -628,7 +628,7 @@ bool ViECodecImpl::CodecValid(const VideoCodec& video_codec) {
return false;
} else if (video_codec.codecType == kVideoCodecULPFEC) {
#if defined(WIN32)
if (strnicmp_(video_codec.plName, "ULPFEC", 6) == 0) {
if (_strnicmp(video_codec.plName, "ULPFEC", 6) == 0) {
#else
if (strncasecmp(video_codec.plName, "ULPFEC", 6) == 0) {
#endif