Index: webrtc/modules/video_coding/main/source/jitter_buffer.cc |
diff --git a/webrtc/modules/video_coding/main/source/jitter_buffer.cc b/webrtc/modules/video_coding/main/source/jitter_buffer.cc |
index 49c2325d80a852971edb1dff629b9c5a997e27e7..162b0246f0830a03fa0dbc6de29aa64bf3d44b2f 100644 |
--- a/webrtc/modules/video_coding/main/source/jitter_buffer.cc |
+++ b/webrtc/modules/video_coding/main/source/jitter_buffer.cc |
@@ -914,6 +914,8 @@ std::vector<uint16_t> VCMJitterBuffer::GetNackList(bool* request_key_frame) { |
} |
if (last_decoded_state_.in_initial_state()) { |
VCMFrameBuffer* next_frame = NextFrame(); |
+ if (!next_frame) |
+ return std::vector<uint16_t>(); |
const bool first_frame_is_key = next_frame && |
next_frame->FrameType() == kVideoFrameKey && |
next_frame->HaveFirstPacket(); |