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

Unified Diff: media/filters/ffmpeg_aac_bitstream_converter.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/ffmpeg_aac_bitstream_converter.cc
diff --git a/media/filters/ffmpeg_aac_bitstream_converter.cc b/media/filters/ffmpeg_aac_bitstream_converter.cc
index a0f175f18253f3e1d12855e04e16143bf7830e60..ce5e8a207dbf7175eed22a1d76d28c05c462a5bc 100644
--- a/media/filters/ffmpeg_aac_bitstream_converter.cc
+++ b/media/filters/ffmpeg_aac_bitstream_converter.cc
@@ -14,11 +14,20 @@ namespace {
// Creates an ADTS header and stores in |hdr|
// Assumes |hdr| points to an array of length |kAdtsHeaderSize|
// Returns false if parameter values are for an unsupported configuration.
-bool GenerateAdtsHeader(
- int codec, int layer, int audio_profile, int sample_rate_index,
- int private_stream, int channel_configuration, int originality, int home,
- int copyrighted_stream, int copyright_start, int frame_length,
- int buffer_fullness, int number_of_frames_minus_one, uint8* hdr) {
+bool GenerateAdtsHeader(int codec,
+ int layer,
+ int audio_profile,
+ int sample_rate_index,
+ int private_stream,
+ int channel_configuration,
+ int originality,
+ int home,
+ int copyrighted_stream,
+ int copyright_start,
+ int frame_length,
+ int buffer_fullness,
+ int number_of_frames_minus_one,
+ uint8_t* hdr) {
DCHECK_EQ(codec, AV_CODEC_ID_AAC);
memset(reinterpret_cast<void *>(hdr), 0,

Powered by Google App Engine
This is Rietveld 408576698