Permit arbitrary payload names for kVideoCodecGeneric.

BUG=1575

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3768 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video_engine/vie_codec_impl.cc b/video_engine/vie_codec_impl.cc
index 42f1a87..7d2d95d 100644
--- a/video_engine/vie_codec_impl.cc
+++ b/video_engine/vie_codec_impl.cc
@@ -741,11 +741,9 @@
   } else if ((video_codec.codecType == kVideoCodecVP8 &&
               strncmp(video_codec.plName, "VP8", 4) == 0) ||
              (video_codec.codecType == kVideoCodecI420 &&
-              strncmp(video_codec.plName, "I420", 4) == 0) ||
-             (video_codec.codecType == kVideoCodecGeneric &&
-              strncmp(video_codec.plName, "GENERIC", 7) == 0)) {
+              strncmp(video_codec.plName, "I420", 4) == 0)) {
     // OK.
-  } else {
+  } else if (video_codec.codecType != kVideoCodecGeneric) {
     WEBRTC_TRACE(kTraceError, kTraceVideo, -1,
                  "Codec type doesn't match pl_name", video_codec.plType);
     return false;