Remove empty VideoCodecGeneric struct.

Struct was added prematurely and triggers a warning with
-Wextern-c-compat in latest clang.

R=henrika@webrtc.org
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5383 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org 2014-01-14 12:55:59 +00:00
parent d9faa46d57
commit 39fcfd78ae
2 changed files with 0 additions and 12 deletions

View File

@ -612,11 +612,6 @@ struct VideoCodecVP8
int keyFrameInterval;
};
// Unknown specific
struct VideoCodecGeneric
{
};
// Video codec types
enum VideoCodecType
{
@ -631,7 +626,6 @@ enum VideoCodecType
union VideoCodecUnion
{
VideoCodecVP8 VP8;
VideoCodecGeneric Generic;
};

View File

@ -338,12 +338,6 @@ bool VCMCodecDataBase::RequiresEncoderReset(const VideoCodec& new_send_codec) {
}
break;
case kVideoCodecGeneric:
if (memcmp(&new_send_codec.codecSpecific.Generic,
&send_codec_.codecSpecific.Generic,
sizeof(new_send_codec.codecSpecific.Generic)) !=
0) {
return true;
}
break;
// Known codecs without payload-specifics
case kVideoCodecI420: