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

Side by Side Diff: media/formats/mpeg/adts_stream_parser.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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 unified diff | Download patch
« no previous file with comments | « media/formats/mpeg/adts_stream_parser.h ('k') | media/formats/mpeg/mpeg1_audio_stream_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/formats/mpeg/adts_stream_parser.h" 5 #include "media/formats/mpeg/adts_stream_parser.h"
6 6
7 #include <stddef.h>
8
7 #include "media/formats/mpeg/adts_constants.h" 9 #include "media/formats/mpeg/adts_constants.h"
8 10
9 namespace media { 11 namespace media {
10 12
11 static const uint32_t kADTSStartCodeMask = 0xfff00000; 13 static const uint32_t kADTSStartCodeMask = 0xfff00000;
12 14
13 ADTSStreamParser::ADTSStreamParser() 15 ADTSStreamParser::ADTSStreamParser()
14 : MPEGAudioStreamParserBase(kADTSStartCodeMask, kCodecAAC, 0) {} 16 : MPEGAudioStreamParserBase(kADTSStartCodeMask, kCodecAAC, 0) {}
15 17
16 ADTSStreamParser::~ADTSStreamParser() {} 18 ADTSStreamParser::~ADTSStreamParser() {}
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 if (channel_layout) 91 if (channel_layout)
90 *channel_layout = kADTSChannelLayoutTable[channel_layout_index]; 92 *channel_layout = kADTSChannelLayoutTable[channel_layout_index];
91 93
92 if (metadata_frame) 94 if (metadata_frame)
93 *metadata_frame = false; 95 *metadata_frame = false;
94 96
95 return bytes_read; 97 return bytes_read;
96 } 98 }
97 99
98 } // namespace media 100 } // namespace media
OLDNEW
« no previous file with comments | « media/formats/mpeg/adts_stream_parser.h ('k') | media/formats/mpeg/mpeg1_audio_stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698