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

Unified Diff: webrtc/modules/rtp_rtcp/source/h264_sps_parser.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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
Index: webrtc/modules/rtp_rtcp/source/h264_sps_parser.h
diff --git a/webrtc/modules/rtp_rtcp/source/h264_sps_parser.h b/webrtc/modules/rtp_rtcp/source/h264_sps_parser.h
index ab8cca35d5a789cb75f6c881dd6c4044ee14e2c5..c05ee67923be62c026c985b6a1628ba2e6b27c0e 100644
--- a/webrtc/modules/rtp_rtcp/source/h264_sps_parser.h
+++ b/webrtc/modules/rtp_rtcp/source/h264_sps_parser.h
@@ -19,18 +19,18 @@ namespace webrtc {
// Currently, only resolution is read without being ignored.
class H264SpsParser {
public:
- H264SpsParser(const uint8* sps, size_t byte_length);
+ H264SpsParser(const uint8_t* sps, size_t byte_length);
// Parses the SPS to completion. Returns true if the SPS was parsed correctly.
bool Parse();
- uint16 width() { return width_; }
- uint16 height() { return height_; }
+ uint16_t width() { return width_; }
+ uint16_t height() { return height_; }
private:
- const uint8* const sps_;
+ const uint8_t* const sps_;
const size_t byte_length_;
- uint16 width_;
- uint16 height_;
+ uint16_t width_;
+ uint16_t height_;
};
} // namespace webrtc
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/h264_bitstream_parser.cc ('k') | webrtc/modules/rtp_rtcp/source/h264_sps_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698