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

Unified Diff: media/formats/mp2t/timestamp_unroller.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/formats/mp2t/timestamp_unroller.h
diff --git a/media/formats/mp2t/timestamp_unroller.h b/media/formats/mp2t/timestamp_unroller.h
index 0d05b7ceac76a45f8d815851a7ca96f7772071b8..afebde5629f98400dbf570701863718a4c5373a5 100644
--- a/media/formats/mp2t/timestamp_unroller.h
+++ b/media/formats/mp2t/timestamp_unroller.h
@@ -5,7 +5,8 @@
#ifndef MEDIA_FORMATS_MP2T_TIMESTAMP_UNROLLER_H_
#define MEDIA_FORMATS_MP2T_TIMESTAMP_UNROLLER_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/macros.h"
#include "media/base/media_export.h"
@@ -26,7 +27,7 @@ class MEDIA_EXPORT TimestampUnroller {
// possible to the previous unrolled timestamp returned by this function
// (if this function has not been called before, it will return the timestamp
// unmodified).
- int64 GetUnrolledTimestamp(int64 timestamp);
+ int64_t GetUnrolledTimestamp(int64_t timestamp);
// Reset the TimestampUnroller to its initial state.
void Reset();
@@ -36,7 +37,7 @@ class MEDIA_EXPORT TimestampUnroller {
bool is_previous_timestamp_valid_;
// This is the last output of GetUnrolledTimestamp.
- int64 previous_unrolled_timestamp_;
+ int64_t previous_unrolled_timestamp_;
DISALLOW_COPY_AND_ASSIGN(TimestampUnroller);
};

Powered by Google App Engine
This is Rietveld 408576698