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

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/rtp_analyze.cc

Issue 1679263002: Switch third_party/gflags to use updated GitHub repo. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add myself to owners Created 4 years, 10 months 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 | « webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <assert.h> 11 #include <assert.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 #include <vector> 13 #include <vector>
14 14
15 #include "google/gflags.h" 15 #include "gflags/gflags.h"
16 #include "webrtc/base/scoped_ptr.h" 16 #include "webrtc/base/scoped_ptr.h"
17 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" 17 #include "webrtc/modules/audio_coding/neteq/tools/packet.h"
18 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" 18 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h"
19 19
20 // Flag validator. 20 // Flag validator.
21 static bool ValidatePayloadType(const char* flagname, int32_t value) { 21 static bool ValidatePayloadType(const char* flagname, int32_t value) {
22 if (value >= 0 && value <= 127) // Value is ok. 22 if (value >= 0 && value <= 127) // Value is ok.
23 return true; 23 return true;
24 printf("Invalid value for --%s: %d\n", flagname, static_cast<int>(value)); 24 printf("Invalid value for --%s: %d\n", flagname, static_cast<int>(value));
25 return false; 25 return false;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 red_headers.pop_front(); 174 red_headers.pop_front();
175 delete red; 175 delete red;
176 } 176 }
177 } 177 }
178 } 178 }
179 179
180 fclose(out_file); 180 fclose(out_file);
181 181
182 return 0; 182 return 0;
183 } 183 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698