Index: media/base/timestamp_constants.h |
diff --git a/media/base/timestamp_constants.h b/media/base/timestamp_constants.h |
index dfe9b993e5262d9d88098ed190ee32b9fe8b88c7..f5a1ab5d3ac65b85f0bb3ccc80fabb29a7ae0bff 100644 |
--- a/media/base/timestamp_constants.h |
+++ b/media/base/timestamp_constants.h |
@@ -5,6 +5,10 @@ |
#ifndef MEDIA_BASE_TIMESTAMP_CONSTANTS_H_ |
#define MEDIA_BASE_TIMESTAMP_CONSTANTS_H_ |
+#include <stdint.h> |
+ |
+#include <limits> |
+ |
#include "base/time/time.h" |
#include "media/base/media_export.h" |
@@ -12,7 +16,7 @@ namespace media { |
// Indicates an invalid or missing timestamp. |
MEDIA_EXPORT inline base::TimeDelta kNoTimestamp() { |
- return base::TimeDelta::FromMicroseconds(kint64min); |
+ return base::TimeDelta::FromMicroseconds(std::numeric_limits<int64_t>::min()); |
} |
// Represents an infinite stream duration. |