Updating the frame buffer return value in InsertPacket: Return NoError when a packet is inserted to a frame which is being decoded.

Review URL: http://webrtc-codereview.appspot.com/330027

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1308 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org 2011-12-29 17:38:56 +00:00
parent bed34a341a
commit 9eeafbef3c

View File

@ -102,7 +102,7 @@ VCMFrameBuffer::InsertPacket(const VCMPacket& packet, WebRtc_Word64 timeInMs,
if (_state == kStateDecoding)
{
// Do not insert packet
return kIncomplete;
return kNoError;
}
// Sanity to check if the frame has been freed. (Too old for example)