Fixes build warnings due to unused variables.
Code directly from http://code.google.com/p/webrtc/issues/detail?id=58. Review URL: http://webrtc-codereview.appspot.com/119007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@428 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
9aa9996a19
commit
a386fc0a8b
@ -1463,7 +1463,7 @@ RTPSender::RED(WebRtc_Word8& payloadType) const
|
||||
{
|
||||
if(!_audioConfigured)
|
||||
{
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
return _audio->RED(payloadType);
|
||||
}
|
||||
|
@ -634,9 +634,6 @@ ModuleRTPUtility::RTPPayloadParser::ParseH263(RTPPayload& parsedPacket) const
|
||||
|
||||
const WebRtc_UWord8 header1 = _dataPtr[0];
|
||||
const WebRtc_UWord8 header2 = _dataPtr[1];
|
||||
bool modeA = false;
|
||||
bool modeB = false;
|
||||
bool modeC = false;
|
||||
|
||||
parsedPacket.frameType = ((header2 & 0x10) == 0) ? kIFrame : kPFrame;
|
||||
|
||||
@ -644,7 +641,6 @@ ModuleRTPUtility::RTPPayloadParser::ParseH263(RTPPayload& parsedPacket) const
|
||||
if ((header1 & 0x80) == 0)
|
||||
{
|
||||
// Mode A
|
||||
modeA = true;
|
||||
h263HeaderLength = 4;
|
||||
}
|
||||
else
|
||||
@ -655,12 +651,13 @@ ModuleRTPUtility::RTPPayloadParser::ParseH263(RTPPayload& parsedPacket) const
|
||||
|
||||
if((header1 & 0x40) == 0)
|
||||
{
|
||||
// IMPROVEMENT use the information in the H263 header? GQuant of the first MB
|
||||
modeB = true;
|
||||
// Mode B
|
||||
// IMPROVEMENT use the information in the H263 header?
|
||||
// GQuant of the first MB
|
||||
h263HeaderLength = 8;
|
||||
}else
|
||||
{
|
||||
modeC = true;
|
||||
// Mode C
|
||||
h263HeaderLength = 12;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user