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

Unified Diff: media/formats/mp4/bitstream_converter.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/mp4/bitstream_converter.h
diff --git a/media/formats/mp4/bitstream_converter.h b/media/formats/mp4/bitstream_converter.h
index b5dfdf1b3b9f2651fa9206e69b3e99c62091eedc..efd635631060bfc3ec78bd2afe8147934af61c5f 100644
--- a/media/formats/mp4/bitstream_converter.h
+++ b/media/formats/mp4/bitstream_converter.h
@@ -7,7 +7,6 @@
#include <vector>
-#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
namespace media {
@@ -32,9 +31,10 @@ class BitstreamConverter
// of input frame are encrypted and should update |subsamples| if necessary,
// to make sure it correctly describes the converted output frame. See
// SubsampleEntry definition in media/base/decrypt_config.h for more info.
- virtual bool ConvertFrame(std::vector<uint8>* frame_buf,
+ virtual bool ConvertFrame(std::vector<uint8_t>* frame_buf,
bool is_keyframe,
std::vector<SubsampleEntry>* subsamples) const = 0;
+
protected:
friend class base::RefCountedThreadSafe<BitstreamConverter>;
virtual ~BitstreamConverter();

Powered by Google App Engine
This is Rietveld 408576698