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

Unified Diff: media/formats/mp4/cenc.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/mp4/cenc.cc
diff --git a/media/formats/mp4/cenc.cc b/media/formats/mp4/cenc.cc
index 001b6d881611dc882d87fd2e1737886f3606054f..3a7b59222e93bc66c42cb96736d192af357b28bc 100644
--- a/media/formats/mp4/cenc.cc
+++ b/media/formats/mp4/cenc.cc
@@ -26,14 +26,14 @@ bool FrameCENCInfo::Parse(int iv_size, BufferReader* reader) {
if (!reader->HasBytes(1)) return true;
- uint16 subsample_count;
+ uint16_t subsample_count;
RCHECK(reader->Read2(&subsample_count) &&
reader->HasBytes(subsample_count * kEntrySize));
subsamples.resize(subsample_count);
for (int i = 0; i < subsample_count; i++) {
- uint16 clear_bytes;
- uint32 cypher_bytes;
+ uint16_t clear_bytes;
+ uint32_t cypher_bytes;
RCHECK(reader->Read2(&clear_bytes) &&
reader->Read4(&cypher_bytes));
subsamples[i].clear_bytes = clear_bytes;

Powered by Google App Engine
This is Rietveld 408576698