| 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_utility.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 12 | 12 |
| 13 #include <string.h> | 13 #include <string.h> |
| 14 | 14 |
| 15 #include "webrtc/base/logging.h" | 15 #include "webrtc/base/logging.h" |
| 16 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" | 16 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" |
| 17 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 17 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
| 18 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.h" |
| 18 | 19 |
| 19 namespace webrtc { | 20 namespace webrtc { |
| 20 | 21 |
| 21 RtpData* NullObjectRtpData() { | 22 RtpData* NullObjectRtpData() { |
| 22 static NullRtpData null_rtp_data; | 23 static NullRtpData null_rtp_data; |
| 23 return &null_rtp_data; | 24 return &null_rtp_data; |
| 24 } | 25 } |
| 25 | 26 |
| 26 RtpFeedback* NullObjectRtpFeedback() { | 27 RtpFeedback* NullObjectRtpFeedback() { |
| 27 static NullRtpFeedback null_rtp_feedback; | 28 static NullRtpFeedback null_rtp_feedback; |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 if (*ptr != 0) { | 460 if (*ptr != 0) { |
| 460 return num_zero_bytes; | 461 return num_zero_bytes; |
| 461 } | 462 } |
| 462 ptr++; | 463 ptr++; |
| 463 num_zero_bytes++; | 464 num_zero_bytes++; |
| 464 } | 465 } |
| 465 return num_zero_bytes; | 466 return num_zero_bytes; |
| 466 } | 467 } |
| 467 } // namespace RtpUtility | 468 } // namespace RtpUtility |
| 468 } // namespace webrtc | 469 } // namespace webrtc |
| OLD | NEW |