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

Unified Diff: media/cast/net/rtp/rtp_parser.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 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: media/cast/net/rtp/rtp_parser.h
diff --git a/media/cast/net/rtp/rtp_parser.h b/media/cast/net/rtp/rtp_parser.h
index d9e6ab97ca1ef0277b45ddcf43139f313ebfdd04..e3f390126ca318118d65f5494bca11ec98dfe4cf 100644
--- a/media/cast/net/rtp/rtp_parser.h
+++ b/media/cast/net/rtp/rtp_parser.h
@@ -16,7 +16,7 @@ namespace cast {
// throughout the media/cast library.
class RtpParser {
public:
- RtpParser(uint32 expected_sender_ssrc, uint8 expected_payload_type);
+ RtpParser(uint32_t expected_sender_ssrc, uint8_t expected_payload_type);
virtual ~RtpParser();
@@ -27,17 +27,17 @@ class RtpParser {
// payload data. Returns false if the data appears to be invalid, is not from
// the expected sender (as identified by the SSRC field), or is not the
// expected payload type.
- bool ParsePacket(const uint8* packet,
+ bool ParsePacket(const uint8_t* packet,
size_t length,
RtpCastHeader* rtp_header,
- const uint8** payload_data,
+ const uint8_t** payload_data,
size_t* payload_size);
- static bool ParseSsrc(const uint8* packet, size_t length, uint32* ssrc);
+ static bool ParseSsrc(const uint8_t* packet, size_t length, uint32_t* ssrc);
private:
- const uint32 expected_sender_ssrc_;
- const uint8 expected_payload_type_;
+ const uint32_t expected_sender_ssrc_;
+ const uint8_t expected_payload_type_;
FrameIdWrapHelper frame_id_wrap_helper_;
DISALLOW_COPY_AND_ASSIGN(RtpParser);

Powered by Google App Engine
This is Rietveld 408576698