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

Unified Diff: media/base/android/media_codec_audio_decoder.cc

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/base/android/media_codec_audio_decoder.cc
diff --git a/media/base/android/media_codec_audio_decoder.cc b/media/base/android/media_codec_audio_decoder.cc
index f68a07e4fc3ba4c52b91dcaf82856ed3e419b792..e1c1fdb45e68ecceff94fd6289939fc053245bb9 100644
--- a/media/base/android/media_codec_audio_decoder.cc
+++ b/media/base/android/media_codec_audio_decoder.cc
@@ -202,7 +202,7 @@ void MediaCodecAudioDecoder::Render(int buffer_index,
const bool postpone = (render_mode == kRenderAfterPreroll);
- int64 head_position =
+ int64_t head_position =
audio_codec->PlayOutputBuffer(buffer_index, size, offset, postpone);
base::TimeTicks current_time = base::TimeTicks::Now();
@@ -227,7 +227,7 @@ void MediaCodecAudioDecoder::Render(int buffer_index,
media_task_runner_->PostTask(
FROM_HERE, base::Bind(update_current_time_cb_, pts, pts, true));
} else {
- int64 frames_to_play = frame_count_ - head_position;
+ int64_t frames_to_play = frame_count_ - head_position;
DCHECK_GE(frames_to_play, 0) << class_name() << "::" << __FUNCTION__
<< " pts:" << pts

Powered by Google App Engine
This is Rietveld 408576698