| Index: webrtc/pc/srtpfilter.h
|
| diff --git a/webrtc/pc/srtpfilter.h b/webrtc/pc/srtpfilter.h
|
| index 26a335fbaebf2fe11f7307cc53b5db072b7bb375..26e1e24e31aecf7769f9928614d53d69514cc8af 100644
|
| --- a/webrtc/pc/srtpfilter.h
|
| +++ b/webrtc/pc/srtpfilter.h
|
| @@ -28,8 +28,12 @@
|
|
|
| // Forward declaration to avoid pulling in libsrtp headers here
|
| struct srtp_event_data_t;
|
| -struct srtp_ctx_t;
|
| -struct srtp_policy_t;
|
| +
|
| +// Libsrtp V1/V2 compatibility hack.
|
| +// TODO(mattdr): Remove this #define after libsrtp 2.0 is in.
|
| +#define srtp_ctx_t_ srtp_ctx_t
|
| +
|
| +struct srtp_ctx_t_;
|
|
|
| namespace cricket {
|
|
|
| @@ -222,7 +226,7 @@ class SrtpSession {
|
| static void HandleEventThunk(srtp_event_data_t* ev);
|
|
|
| rtc::ThreadChecker thread_checker_;
|
| - srtp_ctx_t* session_;
|
| + srtp_ctx_t_* session_;
|
| int rtp_auth_tag_len_;
|
| int rtcp_auth_tag_len_;
|
| std::unique_ptr<SrtpStat> srtp_stat_;
|
|
|