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

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

Issue 129113003: Revert 243647 "Cast:Adding cast_transport_config and cleaning up" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/media/cast/rtcp/rtcp_utility.cc ('k') | trunk/src/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: trunk/src/media/cast/rtcp/test_rtcp_packet_builder.h
===================================================================
--- trunk/src/media/cast/rtcp/test_rtcp_packet_builder.h (revision 243647)
+++ trunk/src/media/cast/rtcp/test_rtcp_packet_builder.h (working copy)
@@ -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 | « trunk/src/media/cast/rtcp/rtcp_utility.cc ('k') | trunk/src/media/cast/rtcp/test_rtcp_packet_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698