[webkit-changes] [WebKit/WebKit] 1838f3: [WebRTC] RtpPacketizer::SplitAboutEqually() should...

Commit Queue noreply at github.com
Mon Dec 4 08:34:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1838f3eb70b2990d4dbdd0aeb5bd5189ef87d87d
      https://github.com/WebKit/WebKit/commit/1838f3eb70b2990d4dbdd0aeb5bd5189ef87d87d
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format.cc
    A Source/ThirdParty/libwebrtc/WebKit/0001-WebRTC-RtpPacketizer-SplitAboutEqually-should-return-empty-std-vector.patch

  Log Message:
  -----------
  [WebRTC] RtpPacketizer::SplitAboutEqually() should return an empty std::vector when payload_len is 0
https://bugs.webkit.org/show_bug.cgi?id=265711
<rdar://119073448>

Reviewed by Youenn Fablet.

* Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format.cc:
(webrtc::RtpPacketizer::SplitAboutEqually):
- Return empty std::vector<int> when payload_len is 0 so that various
  ::NumPackets() methods return 0 when there are no packets to create.

* Source/ThirdParty/libwebrtc/WebKit/0001-WebRTC-RtpPacketizer-SplitAboutEqually-should-return-empty-std-vector.patch: Add.

Canonical link: https://commits.webkit.org/271481@main




More information about the webkit-changes mailing list