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

Unified Diff: media/formats/mp2t/es_parser_h264.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/es_parser_h264.h
diff --git a/media/formats/mp2t/es_parser_h264.h b/media/formats/mp2t/es_parser_h264.h
index b37cfc117c2833e673cfca16b2a40c1a27fcdba6..1a52c5709edc42290270d320f005e78cdb760296 100644
--- a/media/formats/mp2t/es_parser_h264.h
+++ b/media/formats/mp2t/es_parser_h264.h
@@ -8,7 +8,6 @@
#include <list>
#include <utility>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
@@ -57,12 +56,14 @@ class MEDIA_EXPORT EsParserH264 : public EsParser {
// If found, |*stream_pos| corresponds to the position of the AUD start code
// in the stream. Otherwise, |*stream_pos| corresponds to the last position
// of the start code parser.
- bool FindAUD(int64* stream_pos);
+ bool FindAUD(int64_t* stream_pos);
// Emit a frame whose position in the ES queue starts at |access_unit_pos|.
// Returns true if successful, false if no PTS is available for the frame.
- bool EmitFrame(int64 access_unit_pos, int access_unit_size,
- bool is_key_frame, int pps_id);
+ bool EmitFrame(int64_t access_unit_pos,
+ int access_unit_size,
+ bool is_key_frame,
+ int pps_id);
// Update the video decoder config based on an H264 SPS.
// Return true if successful.
@@ -74,8 +75,8 @@ class MEDIA_EXPORT EsParserH264 : public EsParser {
// - |current_access_unit_pos_| is pointing to an annexB syncword
// representing the first NALU of an H264 access unit.
scoped_ptr<H264Parser> h264_parser_;
- int64 current_access_unit_pos_;
- int64 next_access_unit_pos_;
+ int64_t current_access_unit_pos_;
+ int64_t next_access_unit_pos_;
// Last video decoder config.
VideoDecoderConfig last_video_decoder_config_;

Powered by Google App Engine
This is Rietveld 408576698