diff options
author | danilchap <danilchap@webrtc.org> | 2015-12-29 01:12:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-29 09:12:15 +0000 |
commit | 2df2ba7ae1cb89ee0a8e46b17b1d43d0f283aa4b (patch) | |
tree | ec9a1238ee1c971f9fdf7e31f3cf8c62d7b6bcec /webrtc | |
parent | 3f7219be700df3fea85193e8d541e7f90a1c3ce6 (diff) | |
download | webrtc-2df2ba7ae1cb89ee0a8e46b17b1d43d0f283aa4b.tar.gz |
[rtp_rtcp] Fix CL#1539423003
public function RtpHeaderParser::Parse with old signature restored as deprecated.
BUG=webrtc:5277
TBR=åsapersson
NOTRY=True
Review URL: https://codereview.webrtc.org/1550283002
Cr-Commit-Position: refs/heads/master@{#11135}
Diffstat (limited to 'webrtc')
-rw-r--r-- | webrtc/modules/rtp_rtcp/source/rtp_utility.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_utility.h b/webrtc/modules/rtp_rtcp/source/rtp_utility.h index 57f54c1afc..23c175356a 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_utility.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_utility.h @@ -13,6 +13,7 @@ #include <map> +#include "webrtc/base/deprecation.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" @@ -52,6 +53,11 @@ class RtpHeaderParser { bool ParseRtcp(RTPHeader* header) const; bool Parse(RTPHeader* parsedPacket, RtpHeaderExtensionMap* ptrExtensionMap = nullptr) const; + RTC_DEPRECATED bool Parse( + RTPHeader& parsedPacket, // NOLINT(runtime/references) + RtpHeaderExtensionMap* ptrExtensionMap = nullptr) const { + return Parse(&parsedPacket, ptrExtensionMap); + } private: void ParseOneByteExtensionHeader(RTPHeader* parsedPacket, |