OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/protocol/rtp_utils.h" | 5 #include "remoting/protocol/rtp_utils.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "third_party/libjingle/overrides/talk/base/byteorder.h" | 8 #include "third_party/libjingle/source/talk/base/byteorder.h" |
9 | 9 |
10 using talk_base::GetBE16; | 10 using talk_base::GetBE16; |
11 using talk_base::GetBE32; | 11 using talk_base::GetBE32; |
12 using talk_base::SetBE16; | 12 using talk_base::SetBE16; |
13 using talk_base::SetBE32; | 13 using talk_base::SetBE32; |
14 | 14 |
15 namespace remoting { | 15 namespace remoting { |
16 namespace protocol { | 16 namespace protocol { |
17 | 17 |
18 namespace { | 18 namespace { |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 349 |
350 descriptor->picture_id |= buffer[pos] & 0x7F; | 350 descriptor->picture_id |= buffer[pos] & 0x7F; |
351 extension = (buffer[pos] & 0x80) != 0; | 351 extension = (buffer[pos] & 0x80) != 0; |
352 pos += 1; | 352 pos += 1; |
353 } | 353 } |
354 return pos; | 354 return pos; |
355 } | 355 } |
356 | 356 |
357 } // namespace protocol | 357 } // namespace protocol |
358 } // namespace remoting | 358 } // namespace remoting |
OLD | NEW |