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

Unified Diff: remoting/protocol/rtp_utils.cc

Issue 5624002: Move more code from headers to implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 10 years 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
Index: remoting/protocol/rtp_utils.cc
diff --git a/remoting/protocol/rtp_utils.cc b/remoting/protocol/rtp_utils.cc
index 3a6a9340757daf6ea5318bf104f29ac3c0e4e01a..54952409de785369c5a6bf1f5fde2c398e2d2267 100644
--- a/remoting/protocol/rtp_utils.cc
+++ b/remoting/protocol/rtp_utils.cc
@@ -27,6 +27,30 @@ const int kRtcpReceiverReportTotalSize =
const int kRtcpReceiverReportPacketType = 201;
} // namespace
+RtpHeader::RtpHeader()
+ : padding(false),
+ extension(false),
+ sources(0),
+ marker(false),
+ payload_type(0),
+ sequence_number(0),
+ timestamp(0),
+ sync_source_id(0) {
+}
+
+RtcpReceiverReport::RtcpReceiverReport()
+ : receiver_ssrc(0),
+ sender_ssrc(0),
+ loss_fraction(0),
+ total_lost_packets(0),
+ last_sequence_number(0),
+ jitter(0),
+ last_sender_report_timestamp(0),
+ last_sender_report_delay(0) {
+}
+
+
Sergey Ulanov 2010/12/07 21:15:42 empty lines.
Elliot Glaysher 2010/12/07 21:49:25 Done.
+
static inline uint8 ExtractBits(uint8 byte, int bits_count, int shift) {
return (byte >> shift) & ((1 << bits_count) - 1);
}

Powered by Google App Engine
This is Rietveld 408576698