diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-05-23 10:15:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-06-02 10:41:52 +0200 |
commit | 61cec5adaacb358783c18aa07362f15824c1b274 (patch) | |
tree | 974bfc9f4461436d5e9f3584051b8d9e6327b11f /libavformat/protocols.c | |
parent | 5edded9df31bc4712a023f89941b4c278f1bd6f5 (diff) | |
download | ffmpeg-streaming-61cec5adaacb358783c18aa07362f15824c1b274.zip ffmpeg-streaming-61cec5adaacb358783c18aa07362f15824c1b274.tar.gz |
tls: Hide backend implementation details from users
TLS is currently implemented over either OpenSSL or GnuTLS, with more
backends likely to appear in the future. Currently, those backend libraries
are part of the protocol names used during e.g. the configure stage of a
build. Hide those details behind a generically-named declaration for the
TLS protocol to avoid leaking those details into the configuration stage.
Diffstat (limited to 'libavformat/protocols.c')
-rw-r--r-- | libavformat/protocols.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/protocols.c b/libavformat/protocols.c index d254540..8ea5c0e 100644 --- a/libavformat/protocols.c +++ b/libavformat/protocols.c @@ -48,8 +48,7 @@ extern const URLProtocol ff_rtp_protocol; extern const URLProtocol ff_sctp_protocol; extern const URLProtocol ff_srtp_protocol; extern const URLProtocol ff_tcp_protocol; -extern const URLProtocol ff_tls_gnutls_protocol; -extern const URLProtocol ff_tls_openssl_protocol; +extern const URLProtocol ff_tls_protocol; extern const URLProtocol ff_udp_protocol; extern const URLProtocol ff_unix_protocol; extern const URLProtocol ff_librtmp_protocol; |