diff --git a/src/modules/video_coding/main/source/receiver.cc b/src/modules/video_coding/main/source/receiver.cc index 10227f053..0884abd61 100644 --- a/src/modules/video_coding/main/source/receiver.cc +++ b/src/modules/video_coding/main/source/receiver.cc @@ -254,12 +254,6 @@ VCMReceiver::FrameForDecoding(WebRtc_UWord16 maxWaitTimeMs, return NULL; } - if (frame == NULL && VCM_MIN(waitTimeMs, maxWaitTimeMs) == 0) - { - // No time to wait for a complete frame, - // check if we have an incomplete - frame = _jitterBuffer.GetFrameForDecoding(); - } if (frame == NULL) { // Wait for a complete frame