From 1fe2ada38d8b083a19c20b3a9723a20e1dd82b58 Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Wed, 21 Dec 2011 12:23:15 +0000 Subject: [PATCH] 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 --- src/video_engine/vie_codec_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_engine/vie_codec_impl.cc b/src/video_engine/vie_codec_impl.cc index af2e30f29..c1f0c3c24 100644 --- a/src/video_engine/vie_codec_impl.cc +++ b/src/video_engine/vie_codec_impl.cc @@ -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