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

Unified Diff: content/renderer/media/android/audio_decoder_android.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/renderer/media/android/audio_decoder_android.cc
diff --git a/content/renderer/media/android/audio_decoder_android.cc b/content/renderer/media/android/audio_decoder_android.cc
index 6373ccd2ca1ca464b2e6097c570b81b3b64b0bd0..2601fea43cc950bcbdde1b592661a0df8f786295 100644
--- a/content/renderer/media/android/audio_decoder_android.cc
+++ b/content/renderer/media/android/audio_decoder_android.cc
@@ -7,12 +7,14 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <unistd.h>
#include <vector>
#include "base/file_descriptor_posix.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/memory/shared_memory.h"
#include "base/posix/eintr_wrapper.h"
#include "base/process/process_handle.h"
@@ -106,7 +108,7 @@ static float ConvertSampleToFloat(int16_t sample) {
// basic guide to the WAVE file format.
class WAVEDecoder {
public:
- WAVEDecoder(const uint8* data, size_t data_size);
+ WAVEDecoder(const uint8_t* data, size_t data_size);
~WAVEDecoder();
// Try to decode the data as a WAVE file. If the data is a supported
« no previous file with comments | « content/renderer/media/android/audio_decoder_android.h ('k') | content/renderer/media/android/media_info_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698