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

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

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 <stdio.h> 11 #include <stdio.h>
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "webrtc/base/checks.h" 15 #include "webrtc/rtc_base/checks.h"
16 #include "webrtc/test/rtp_file_reader.h" 16 #include "webrtc/test/rtp_file_reader.h"
17 #include "webrtc/test/rtp_file_writer.h" 17 #include "webrtc/test/rtp_file_writer.h"
18 18
19 using webrtc::test::RtpFileReader; 19 using webrtc::test::RtpFileReader;
20 using webrtc::test::RtpFileWriter; 20 using webrtc::test::RtpFileWriter;
21 21
22 int main(int argc, char* argv[]) { 22 int main(int argc, char* argv[]) {
23 if (argc < 3) { 23 if (argc < 3) {
24 printf("Concatenates multiple rtpdump files into one.\n"); 24 printf("Concatenates multiple rtpdump files into one.\n");
25 printf("Usage: rtpcat in1.rtp int2.rtp [...] out.rtp\n"); 25 printf("Usage: rtpcat in1.rtp int2.rtp [...] out.rtp\n");
(...skipping 10 matching lines...) Expand all
36 RtpFileReader::Create(RtpFileReader::kRtpDump, argv[i])); 36 RtpFileReader::Create(RtpFileReader::kRtpDump, argv[i]));
37 RTC_CHECK(input.get() != NULL) << "Cannot open input file " << argv[i]; 37 RTC_CHECK(input.get() != NULL) << "Cannot open input file " << argv[i];
38 printf("Input RTP file: %s\n", argv[i]); 38 printf("Input RTP file: %s\n", argv[i]);
39 39
40 webrtc::test::RtpPacket packet; 40 webrtc::test::RtpPacket packet;
41 while (input->NextPacket(&packet)) 41 while (input->NextPacket(&packet))
42 RTC_CHECK(output->WritePacket(&packet)); 42 RTC_CHECK(output->WritePacket(&packet));
43 } 43 }
44 return 0; 44 return 0;
45 } 45 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/rtp_generator.h ('k') | webrtc/modules/audio_coding/test/APITest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698