Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit fd0d988

Browse files
committed
Fix static scan issues of webrtc stack.
1 parent eca6f01 commit fd0d988

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/rtp_rtcp/source/rtp_format_h265.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ void RtpPacketizerH265::NextFragmentPacket(RtpPacketToSend* rtp_packet) {
358358
const Fragment& fragment = packet->source_fragment;
359359
uint8_t* buffer = rtp_packet->AllocatePayload(
360360
kHevcFuHeaderSize + kHevcNalHeaderSize + fragment.length);
361+
RTC_CHECK(buffer);
361362
buffer[0] = payload_hdr_h;
362363
buffer[1] = payload_hdr_l;
363364
buffer[2] = fu_header;

0 commit comments

Comments
 (0)