Fix unused variable warning in video_coding.

Issue 57: [Patch] Fix unused variable warnings in the video_coding module
Review URL: http://webrtc-codereview.appspot.com/126004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@435 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org 2011-08-24 08:51:08 +00:00
parent 7f593c1e62
commit 49cbc512ae
2 changed files with 0 additions and 5 deletions

View File

@ -552,7 +552,6 @@ VCMFrameListItem*
VCMJitterBuffer::FindOldestSequenceNum() const
{
WebRtc_UWord16 currentLow = 0xffff;
VCMFrameBufferStateEnum state = kStateFree;
WebRtc_UWord16 sequenceNumber = 0;
bool first = true;
VCMFrameListItem* frameListItem = _frameBuffersTSOrder.First();
@ -564,7 +563,6 @@ VCMJitterBuffer::FindOldestSequenceNum() const
// pick oldest
VCMFrameBuffer* ptrFrame = NULL;
ptrFrame = frameListItem->GetItem();
state = ptrFrame->GetState();
sequenceNumber = static_cast<WebRtc_UWord16>(ptrFrame->GetLowSeqNum());
// Find the oldest, hence lowest, using sequence numbers
@ -1152,10 +1150,8 @@ VCMJitterBuffer::GetFrameForDecodingNACK()
{
oldestFrame = oldestFrameListItem->GetItem();
}
bool continuous = true;
if (oldestFrame == NULL)
{
continuous = false;
// If we didn't find one we're good with a complete key/decodable frame.
oldestFrameListItem = _frameBuffersTSOrder.FindFrameListItem(
CompleteDecodableKeyFrameCriteria);

View File

@ -55,7 +55,6 @@ VCMPacket::VCMPacket(const WebRtc_UWord8* ptr, WebRtc_UWord32 size, WebRtc_UWord
void VCMPacket::CopyCodecSpecifics(const RTPVideoHeader& videoHeader)
{
RTPVideoTypeHeader codecHeader = videoHeader.codecHeader;
switch(videoHeader.codec)
{
case kRTPVideoVP8: