From 9eeafbef3c956764939489483cfdf92c0a3014f3 Mon Sep 17 00:00:00 2001 From: "mikhal@webrtc.org" Date: Thu, 29 Dec 2011 17:38:56 +0000 Subject: [PATCH] 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 --- src/modules/video_coding/main/source/frame_buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/video_coding/main/source/frame_buffer.cc b/src/modules/video_coding/main/source/frame_buffer.cc index 4be89928e..a276b4687 100644 --- a/src/modules/video_coding/main/source/frame_buffer.cc +++ b/src/modules/video_coding/main/source/frame_buffer.cc @@ -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)