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

Side by Side Diff: media/formats/webm/webm_cluster_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
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/webm/webm_cluster_parser.h" 5 #include "media/formats/webm/webm_cluster_parser.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
10 #include "base/sys_byteorder.h" 11 #include "base/sys_byteorder.h"
11 #include "media/base/decrypt_config.h" 12 #include "media/base/decrypt_config.h"
12 #include "media/base/timestamp_constants.h" 13 #include "media/base/timestamp_constants.h"
13 #include "media/filters/webvtt_util.h" 14 #include "media/filters/webvtt_util.h"
14 #include "media/formats/webm/webm_constants.h" 15 #include "media/formats/webm/webm_constants.h"
15 #include "media/formats/webm/webm_crypto_helpers.h" 16 #include "media/formats/webm/webm_crypto_helpers.h"
16 #include "media/formats/webm/webm_webvtt_parser.h" 17 #include "media/formats/webm/webm_webvtt_parser.h"
17 18
18 namespace media { 19 namespace media {
19 20
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 WebMClusterParser::FindTextTrack(int track_num) { 874 WebMClusterParser::FindTextTrack(int track_num) {
874 const TextTrackMap::iterator it = text_track_map_.find(track_num); 875 const TextTrackMap::iterator it = text_track_map_.find(track_num);
875 876
876 if (it == text_track_map_.end()) 877 if (it == text_track_map_.end())
877 return NULL; 878 return NULL;
878 879
879 return &it->second; 880 return &it->second;
880 } 881 }
881 882
882 } // namespace media 883 } // namespace media
OLDNEW
« no previous file with comments | « media/formats/webm/webm_cluster_parser.h ('k') | media/formats/webm/webm_cluster_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698