Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc

Issue 1991223002: [rtcp] in Tmmbn/tmmbr packets bitrate updated to 64bit (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc
index b19fa08b3bdd215531de2ed49210c8737b9545c1..b24b039b407f0a2b91fd7673aa19d8cdbe84be7b 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc
@@ -64,7 +64,8 @@ bool Tmmbr::Parse(const RtcpCommonHeader& header, const uint8_t* payload) {
size_t number_of_items = items_size_bytes / TmmbItem::kLength;
items_.resize(number_of_items);
for (TmmbItem& item : items_) {
- item.Parse(next_item);
+ if (!item.Parse(next_item))
+ return false;
next_item += TmmbItem::kLength;
}
return true;
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698