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

Unified Diff: media/formats/webm/webm_video_client.cc

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/formats/webm/webm_video_client.cc
diff --git a/media/formats/webm/webm_video_client.cc b/media/formats/webm/webm_video_client.cc
index 29b7dca7421550237a02f4c2324fbd70639f7b80..6e57dfbe4f6b6327be3a5e9fbc88da9e54d45d81 100644
--- a/media/formats/webm/webm_video_client.cc
+++ b/media/formats/webm/webm_video_client.cc
@@ -31,8 +31,10 @@ void WebMVideoClient::Reset() {
}
bool WebMVideoClient::InitializeConfig(
- const std::string& codec_id, const std::vector<uint8>& codec_private,
- bool is_encrypted, VideoDecoderConfig* config) {
+ const std::string& codec_id,
+ const std::vector<uint8_t>& codec_private,
+ bool is_encrypted,
+ VideoDecoderConfig* config) {
DCHECK(config);
VideoCodec video_codec = kUnknownVideoCodec;
@@ -95,8 +97,8 @@ bool WebMVideoClient::InitializeConfig(
return config->IsValidConfig();
}
-bool WebMVideoClient::OnUInt(int id, int64 val) {
- int64* dst = NULL;
+bool WebMVideoClient::OnUInt(int id, int64_t val) {
+ int64_t* dst = NULL;
switch (id) {
case kWebMIdPixelWidth:
@@ -144,7 +146,7 @@ bool WebMVideoClient::OnUInt(int id, int64 val) {
return true;
}
-bool WebMVideoClient::OnBinary(int id, const uint8* data, int size) {
+bool WebMVideoClient::OnBinary(int id, const uint8_t* data, int size) {
// Accept binary fields we don't care about for now.
return true;
}

Powered by Google App Engine
This is Rietveld 408576698