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:
@ -612,11 +612,6 @@ struct VideoCodecVP8
|
|||||||
int keyFrameInterval;
|
int keyFrameInterval;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Unknown specific
|
|
||||||
struct VideoCodecGeneric
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
// Video codec types
|
// Video codec types
|
||||||
enum VideoCodecType
|
enum VideoCodecType
|
||||||
{
|
{
|
||||||
@ -631,7 +626,6 @@ enum VideoCodecType
|
|||||||
union VideoCodecUnion
|
union VideoCodecUnion
|
||||||
{
|
{
|
||||||
VideoCodecVP8 VP8;
|
VideoCodecVP8 VP8;
|
||||||
VideoCodecGeneric Generic;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -338,12 +338,6 @@ bool VCMCodecDataBase::RequiresEncoderReset(const VideoCodec& new_send_codec) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case kVideoCodecGeneric:
|
case kVideoCodecGeneric:
|
||||||
if (memcmp(&new_send_codec.codecSpecific.Generic,
|
|
||||||
&send_codec_.codecSpecific.Generic,
|
|
||||||
sizeof(new_send_codec.codecSpecific.Generic)) !=
|
|
||||||
0) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
// Known codecs without payload-specifics
|
// Known codecs without payload-specifics
|
||||||
case kVideoCodecI420:
|
case kVideoCodecI420:
|
||||||
|
Reference in New Issue
Block a user