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); |
} |