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