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

Unified Diff: media/cast/rtcp/test_rtcp_packet_builder.h

Issue 126843003: Revert of Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « media/cast/rtcp/rtcp_utility.cc ('k') | media/cast/rtcp/test_rtcp_packet_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/test_rtcp_packet_builder.h
diff --git a/media/cast/rtcp/test_rtcp_packet_builder.h b/media/cast/rtcp/test_rtcp_packet_builder.h
index 3a34dc0a034cb6bd88c1b64e95a4deb2995ca062..9b63a37fa4aed9018f24bb5eb7000f722dc88622 100644
--- a/media/cast/rtcp/test_rtcp_packet_builder.h
+++ b/media/cast/rtcp/test_rtcp_packet_builder.h
@@ -86,7 +86,7 @@
uint16 event_timesamp_delta);
const uint8* Packet();
- int Length() { return kMaxIpPacketSize - big_endian_writer_.remaining(); }
+ int Length() { return kIpPacketSize - big_endian_writer_.remaining(); }
private:
void AddRtcpHeader(int payload, int format_or_count);
@@ -94,7 +94,7 @@
// Where the length field of the current packet is.
// Note: 0 is not a legal value, it is used for "uninitialized".
- uint8 buffer_[kMaxIpPacketSize];
+ uint8 buffer_[kIpPacketSize];
char* ptr_of_length_;
net::BigEndianWriter big_endian_writer_;
};
« no previous file with comments | « media/cast/rtcp/rtcp_utility.cc ('k') | media/cast/rtcp/test_rtcp_packet_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698