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

Unified Diff: media/filters/ffmpeg_glue.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/filters/ffmpeg_glue.h
diff --git a/media/filters/ffmpeg_glue.h b/media/filters/ffmpeg_glue.h
index 0073ac3c8237a36bdbafb9df31426fb201baac86..ddc49b140ae1a3ba042e83dace117b9ff0c2f505 100644
--- a/media/filters/ffmpeg_glue.h
+++ b/media/filters/ffmpeg_glue.h
@@ -25,7 +25,6 @@
#ifndef MEDIA_FILTERS_FFMPEG_GLUE_H_
#define MEDIA_FILTERS_FFMPEG_GLUE_H_
-#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
#include "media/ffmpeg/ffmpeg_deleters.h"
@@ -39,18 +38,18 @@ class MEDIA_EXPORT FFmpegURLProtocol {
public:
// Read the given amount of bytes into data, returns the number of bytes read
// if successful, kReadError otherwise.
- virtual int Read(int size, uint8* data) = 0;
+ virtual int Read(int size, uint8_t* data) = 0;
// Returns true and the current file position for this file, false if the
// file position could not be retrieved.
- virtual bool GetPosition(int64* position_out) = 0;
+ virtual bool GetPosition(int64_t* position_out) = 0;
// Returns true if the file position could be set, false otherwise.
- virtual bool SetPosition(int64 position) = 0;
+ virtual bool SetPosition(int64_t position) = 0;
// Returns true and the file size, false if the file size could not be
// retrieved.
- virtual bool GetSize(int64* size_out) = 0;
+ virtual bool GetSize(int64_t* size_out) = 0;
// Returns false if this protocol supports random seeking.
virtual bool IsStreaming() = 0;

Powered by Google App Engine
This is Rietveld 408576698