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

Unified Diff: media/filters/audio_decoder_unittest.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/filters/audio_decoder_unittest.cc
diff --git a/media/filters/audio_decoder_unittest.cc b/media/filters/audio_decoder_unittest.cc
index 79d77029544a411a6bcec10a6a748d8da0cb7ad4..28bb251db33dd1324ca2908e5634815f9cd458d8 100644
--- a/media/filters/audio_decoder_unittest.cc
+++ b/media/filters/audio_decoder_unittest.cc
@@ -43,8 +43,8 @@ enum AudioDecoderType {
};
struct DecodedBufferExpectations {
- const int64 timestamp;
- const int64 duration;
+ const int64_t timestamp;
+ const int64_t duration;
const char* hash;
};
@@ -83,8 +83,8 @@ static void SetDiscardPadding(AVPacket* packet,
// If the timestamp is positive, try to use FFmpeg's discard data.
int skip_samples_size = 0;
- const uint32* skip_samples_ptr =
- reinterpret_cast<const uint32*>(av_packet_get_side_data(
+ const uint32_t* skip_samples_ptr =
+ reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
packet, AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));
if (skip_samples_size < 4)
return;

Powered by Google App Engine
This is Rietveld 408576698