RESOLVED FIXED 265711
[WebRTC] RtpPacketizer::SplitAboutEqually() should return an empty std::vector when payload_len is 0
https://bugs.webkit.org/show_bug.cgi?id=265711
Summary [WebRTC] RtpPacketizer::SplitAboutEqually() should return an empty std::vecto...
David Kilzer (:ddkilzer)
Reported 2023-12-01 18:05:44 PST
[WebRTC] RtpPacketizer::SplitAboutEqually() should return an empty std::vector when payload_len is 0. Currently it returns a std::vector<int> with a single value of 0, which causes various ::NumPackets() methods to incorrectly return 1 instead of 0. <rdar://119058459>
Attachments
David Kilzer (:ddkilzer)
Comment 1 2023-12-02 08:03:13 PST
David Kilzer (:ddkilzer)
Comment 2 2023-12-02 08:08:35 PST
EWS
Comment 3 2023-12-04 08:33:56 PST
Committed 271481@main (1838f3eb70b2): <https://commits.webkit.org/271481@main> Reviewed commits have been landed. Closing PR #21210 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.