| OLD | NEW |
| 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 "webrtc/modules/rtp_rtcp/source/rtp_packet_history.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_history.h" |
| 12 | 12 |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 #include <stdlib.h> | 14 #include <stdlib.h> |
| 15 #include <string.h> // memset | 15 #include <string.h> // memset |
| 16 |
| 17 #include <algorithm> |
| 16 #include <limits> | 18 #include <limits> |
| 17 #include <set> | 19 #include <set> |
| 18 | 20 |
| 19 #include "webrtc/base/checks.h" | 21 #include "webrtc/base/checks.h" |
| 20 #include "webrtc/base/logging.h" | 22 #include "webrtc/base/logging.h" |
| 21 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 22 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 23 | 25 |
| 24 namespace webrtc { | 26 namespace webrtc { |
| 25 | 27 |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 min_diff = diff; | 292 min_diff = diff; |
| 291 best_index = static_cast<int>(i); | 293 best_index = static_cast<int>(i); |
| 292 } | 294 } |
| 293 } | 295 } |
| 294 return best_index; | 296 return best_index; |
| 295 } | 297 } |
| 296 | 298 |
| 297 RTPPacketHistory::StoredPacket::StoredPacket() {} | 299 RTPPacketHistory::StoredPacket::StoredPacket() {} |
| 298 | 300 |
| 299 } // namespace webrtc | 301 } // namespace webrtc |
| OLD | NEW |