| OLD | NEW |
| 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 #include <algorithm> | 12 #include <algorithm> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "webrtc/test/gtest.h" |
| 16 #include "webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h" | 16 #include "webrtc/modules/audio_coding/neteq/test/NETEQTEST_RTPpacket.h" |
| 17 | 17 |
| 18 #define FIRSTLINELEN 40 | 18 #define FIRSTLINELEN 40 |
| 19 | 19 |
| 20 int main(int argc, char* argv[]) { | 20 int main(int argc, char* argv[]) { |
| 21 if (argc < 4 || argc > 6) { | 21 if (argc < 4 || argc > 6) { |
| 22 printf( | 22 printf( |
| 23 "Usage: RTPtimeshift in.rtp out.rtp newStartTS [newStartSN " | 23 "Usage: RTPtimeshift in.rtp out.rtp newStartTS [newStartSN " |
| 24 "[newStartArrTime]]\n"); | 24 "[newStartArrTime]]\n"); |
| 25 exit(1); | 25 exit(1); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 packet.writeToFile(outFile); | 77 packet.writeToFile(outFile); |
| 78 | 78 |
| 79 packLen = packet.readFromFile(inFile); | 79 packLen = packet.readFromFile(inFile); |
| 80 } | 80 } |
| 81 | 81 |
| 82 fclose(inFile); | 82 fclose(inFile); |
| 83 fclose(outFile); | 83 fclose(outFile); |
| 84 | 84 |
| 85 return 0; | 85 return 0; |
| 86 } | 86 } |
| OLD | NEW |